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);