From 7cb24eb5ff7ed40cc08b192963e4456c40e16850 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Thu, 7 Nov 2013 01:04:06 +0100 Subject: [PATCH] * util/grub-mkimagexx.c (relocate_symbols): Remove unneeded brackets. --- ChangeLog | 4 ++++ util/grub-mkimagexx.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a717ad5c5..3a96b41d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-11-07 Vladimir Serbinenko + + * util/grub-mkimagexx.c (relocate_symbols): Remove unneeded brackets. + 2013-11-07 Vladimir Serbinenko * grub-core/gettext/gettext.c (main_context), (secondary_context): diff --git a/util/grub-mkimagexx.c b/util/grub-mkimagexx.c index 00d1efff1..fea553c14 100644 --- a/util/grub-mkimagexx.c +++ b/util/grub-mkimagexx.c @@ -103,7 +103,7 @@ SUFFIX (relocate_symbols) (Elf_Ehdr *e, Elf_Shdr *sections, { continue; } - else if ((cur_index == STN_UNDEF)) + else if (cur_index == STN_UNDEF) { if (sym->st_name) grub_util_error ("undefined symbol %s", name);