Silence spurious warning.

This commit is contained in:
Vladimir Serbinenko 2013-12-18 06:19:16 +01:00
parent 81294aff98
commit a43b3e5d8e
2 changed files with 5 additions and 1 deletions

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