Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752760AbbLNPoH (ORCPT ); Mon, 14 Dec 2015 10:44:07 -0500 Received: from ud10.udmedia.de ([194.117.254.50]:36984 "EHLO mail.ud10.udmedia.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751700AbbLNPoG (ORCPT ); Mon, 14 Dec 2015 10:44:06 -0500 Date: Mon, 14 Dec 2015 16:44:03 +0100 From: Markus Trippelsdorf To: Arnaldo Carvalho de Melo Cc: Matt Fleming , linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra Subject: [PATCH 2/3] Add missing braces to if statement Message-ID: <20151214154403.GB1409@x4> References: <20151212180702.GA753@x4> <20151214104607.GA2571@codeblueprint.co.uk> <20151214151449.GH6843@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151214151449.GH6843@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 32 Add missing braces to if statement. The issue was pointed out by gcc-6's -Wmisleading-indentation. Acked-by: Ingo Molnar Signed-off-by: Markus Trippelsdorf diff --git a/tools/perf/ui/browsers/annotate.c b/tools/perf/ui/browsers/annotate.c index d4d7cc27252f..718bd46d47fa 100644 --- a/tools/perf/ui/browsers/annotate.c +++ b/tools/perf/ui/browsers/annotate.c @@ -755,11 +755,11 @@ static int annotate_browser__run(struct annotate_browser *browser, nd = browser->curr_hot; break; case K_UNTAB: - if (nd != NULL) + if (nd != NULL) { nd = rb_next(nd); if (nd == NULL) nd = rb_first(&browser->entries); - else + } else nd = browser->curr_hot; break; case K_F1: -- Markus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/