]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-mkimagexx.c (relocate_symbols): Remove unneeded brackets.
authorVladimir Serbinenko <phcoder@gmail.com>
Thu, 7 Nov 2013 00:04:06 +0000 (01:04 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Thu, 7 Nov 2013 00:04:06 +0000 (01:04 +0100)
ChangeLog
util/grub-mkimagexx.c

index a717ad5c555dfa10d3c7286bf4aceb169a5690d8..3a96b41d9825dab4d36e45f705e4da4421f14f6e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-07  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * util/grub-mkimagexx.c (relocate_symbols): Remove unneeded brackets.
+
 2013-11-07  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/gettext/gettext.c (main_context), (secondary_context):
index 00d1efff16f14c08cae69fcb6eadb5eaf8b5bfac..fea553c14871db9ac1769dcdd1c7583e293480a6 100644 (file)
@@ -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);