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
This commit is contained in:
Simon Marchi
2022-01-31 09:44:46 -05:00
committed by Simon Marchi
parent 8d2ef06e1c
commit 492325c4b7
7 changed files with 15 additions and 15 deletions

View File

@@ -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