]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Silence spurious warning.
authorVladimir Serbinenko <phcoder@gmail.com>
Wed, 18 Dec 2013 05:19:16 +0000 (06:19 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Wed, 18 Dec 2013 05:19:16 +0000 (06:19 +0100)
ChangeLog
grub-core/lib/syslinux_parse.c

index 1a50f96eddfbc1f3aebb161bcfdbcf0e6742c3b5..a756c0f8dfad9d891acc73768a375761bae9cbd1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-12-17  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       Silence spurious warning.
+
 2013-12-17  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Remove check_nt_hiberfil as it's been superseeded by file command.
index ebd6a975b88ee3bbe5f1ca9f0eaf7ebd1404b668..337442cf20068c8cda096b795fe356d3eecfcb1f 100644 (file)
@@ -972,7 +972,7 @@ write_entry (struct output_buffer *outbuf,
        if (grub_strcasecmp (basename, "chain.c32") == 0)
          {
            char *file = NULL;
-           int is_fd = -1, devn;
+           int is_fd = -1, devn = 0;
            int part = -1;
            int swap = 0;
            char *ptr;