From 492325c4b78933e41608c53963d29b1f16affd47 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 31 Jan 2022 09:44:46 -0500 Subject: gdb: fix some clang-tidy readability-misleading-indentation warnings I have warnings like these showing in my editor all the time, so I thought I'd run clang-tidy with this diagnostic on all the files (that I can compile) and fix them. There is still one warning, in utils.c, but that's because some code is mixed up with preprocessor macros (#ifdef TUI), so I think there no good solution there. Change-Id: I345175fc7dd865318f0fbe61ac026c88c3b6a96b --- gdb/disasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/disasm.c') diff --git a/gdb/disasm.c b/gdb/disasm.c index 3000e5d..5cd1f5a 100644 --- a/gdb/disasm.c +++ b/gdb/disasm.c @@ -189,7 +189,7 @@ line_is_less_than (const deprecated_dis_line_entry &mle1, { if (mle1.start_pc != mle2.start_pc) val = mle1.start_pc < mle2.start_pc; - else + else val = mle1.line < mle2.line; } else -- cgit v1.1