aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-valprint.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-01-31 09:44:46 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2022-01-31 12:22:47 -0500
commit492325c4b78933e41608c53963d29b1f16affd47 (patch)
treecba5e4a602ae6416e907ba2bfef440fed1d64f1c /gdb/p-valprint.c
parent8d2ef06e1c220bcfb133a47b98b6287ccabdb587 (diff)
downloadgdb-492325c4b78933e41608c53963d29b1f16affd47.zip
gdb-492325c4b78933e41608c53963d29b1f16affd47.tar.gz
gdb-492325c4b78933e41608c53963d29b1f16affd47.tar.bz2
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
Diffstat (limited to 'gdb/p-valprint.c')
-rw-r--r--gdb/p-valprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c
index 635d7ed..a88d6b9 100644
--- a/gdb/p-valprint.c
+++ b/gdb/p-valprint.c
@@ -313,7 +313,7 @@ pascal_language::value_print_inner (struct value *val,
}
else
{
- if (pascal_is_string_type (type, &length_pos, &length_size,
+ if (pascal_is_string_type (type, &length_pos, &length_size,
&string_pos, &char_type, NULL) > 0)
{
len = extract_unsigned_integer (valaddr + length_pos,