From a43b3e5d8e12eacbe0f6e320290228d9b0b0cac8 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 18 Dec 2013 06:19:16 +0100 Subject: [PATCH] Silence spurious warning. --- ChangeLog | 4 ++++ grub-core/lib/syslinux_parse.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1a50f96ed..a756c0f8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-12-17 Vladimir Serbinenko + + Silence spurious warning. + 2013-12-17 Vladimir Serbinenko Remove check_nt_hiberfil as it's been superseeded by file command. diff --git a/grub-core/lib/syslinux_parse.c b/grub-core/lib/syslinux_parse.c index ebd6a975b..337442cf2 100644 --- a/grub-core/lib/syslinux_parse.c +++ b/grub-core/lib/syslinux_parse.c @@ -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;