aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68k-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-11-02 18:53:54 +0000
committerTom Tromey <tromey@redhat.com>2012-11-02 18:53:54 +0000
commitd4fb63e140aed000a5c6a9d463e616d8409b56f4 (patch)
tree58cbf07d01be1182347c4a382277313f515acee2 /gdb/m68k-tdep.c
parentb786c521573fce15b05c4b879e05f9cc592e1e4b (diff)
downloadfsf-binutils-gdb-d4fb63e140aed000a5c6a9d463e616d8409b56f4.zip
fsf-binutils-gdb-d4fb63e140aed000a5c6a9d463e616d8409b56f4.tar.gz
fsf-binutils-gdb-d4fb63e140aed000a5c6a9d463e616d8409b56f4.tar.bz2
* configure: Rebuild.
* configure.ac (build_warnings): Add -Wempty-body. * m68k-tdep.c (m68k_gdbarch_init): Remove empty 'if'. * remote.c (handle_notification): Use braces for empty 'else' body. * s390-tdep.c (s390_analyze_prologue): Use braces for empty 'else' body. * sh64-tdep.c (sh64_push_dummy_call): Use braces for empty 'else' body. * solib-som.c (som_relocate_section_addresses): Use braces for empty 'else' body. * ui-file.c (stdio_file_write): Use braces for empty 'if' body. (stdio_file_write_async_safe, stdio_file_fputs): Likewise.
Diffstat (limited to 'gdb/m68k-tdep.c')
-rw-r--r--gdb/m68k-tdep.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c
index b45a80f..0bad9ac 100644
--- a/gdb/m68k-tdep.c
+++ b/gdb/m68k-tdep.c
@@ -1100,9 +1100,6 @@ m68k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
feature = tdesc_find_feature (info.target_desc,
"org.gnu.gdb.m68k.core");
- if (feature != NULL)
- /* Do nothing. */
- ;
if (feature == NULL)
{