aboutsummaryrefslogtreecommitdiff
path: root/binutils/elfedit.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-01-07 20:49:23 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-01-07 20:49:23 +0000
commit71a72a84624232e06f41b605ac5a3e277f28a0dc (patch)
tree9fe901ce118d2217f15ebf6596312a8b38df8a08 /binutils/elfedit.c
parentea715a34a7803993d232d8b85dbd77ca537190e6 (diff)
downloadgdb-71a72a84624232e06f41b605ac5a3e277f28a0dc.zip
gdb-71a72a84624232e06f41b605ac5a3e277f28a0dc.tar.gz
gdb-71a72a84624232e06f41b605ac5a3e277f28a0dc.tar.bz2
Reformat elfedit.c
2010-01-07 H.J. Lu <hongjiu.lu@intel.com> * elfedit.c (update_elf_header): Reformat.
Diffstat (limited to 'binutils/elfedit.c')
-rw-r--r--binutils/elfedit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/binutils/elfedit.c b/binutils/elfedit.c
index 28e40be..6e2f8db4 100644
--- a/binutils/elfedit.c
+++ b/binutils/elfedit.c
@@ -253,8 +253,7 @@ update_elf_header (const char *file_name, FILE *file)
/* Skip if class doesn't match. */
if (input_elf_class == -1)
input_elf_class = elf_header.e_ident[EI_CLASS];
- else
- if (elf_header.e_ident[EI_CLASS] != input_elf_class)
+ else if (elf_header.e_ident[EI_CLASS] != input_elf_class)
{
non_fatal
(_("%s: Unmatched EI_CLASS: %d is not %d\n"),