mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
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:
committed by
Simon Marchi
parent
8d2ef06e1c
commit
492325c4b7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user