diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2016-01-29 15:32:29 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2016-01-29 15:32:29 -0500 |
commit | a2e3e93f4423899d99687da3ce4ac57cbed437f9 (patch) | |
tree | 2165561b78cb8829054ef7a9c7ac6eef19a704f4 /gdb/xcoffread.c | |
parent | 348ef89a5443529b2a67fa9d247debf3e707a4bd (diff) | |
download | binutils-gdb-a2e3e93f4423899d99687da3ce4ac57cbed437f9.tar.gz |
Fix two misleading indentation warnings
Two small changes so everything builds with latest GCC and its
-Wmisleading-indentation.
In the aarch64-tdep.c case, the two misindented lines should actually be
part of the for loop. It looks like the indentation is all done using
spaces in that file though... I fixed it (changed for tabs + spaces) for
the lines I touched.
In the xcoffread.c case, we can simply remove the braces and fix the
indentation.
gdb/ChangeLog:
* aarch64-tdep.c (aarch64_record_asimd_load_store): Add braces
to for include additional lines.
* xcoffread.c (scan_xcoff_symtab): Remove unnecessary braces.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 533a33a7be3..c67094980a9 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -2381,13 +2381,12 @@ scan_xcoff_symtab (struct objfile *objfile) if (first_fun_line_offset == 0 && symbol.n_numaux > 1) first_fun_line_offset = main_aux[0].x_sym.x_fcnary.x_fcn.x_lnnoptr; - { - record_minimal_symbol - (namestring, symbol.n_value, - sclass == C_HIDEXT ? mst_file_text : mst_text, - symbol.n_scnum, objfile); - misc_func_recorded = 1; - } + + record_minimal_symbol + (namestring, symbol.n_value, + sclass == C_HIDEXT ? mst_file_text : mst_text, + symbol.n_scnum, objfile); + misc_func_recorded = 1; break; case XMC_GL: |