diff --git a/grub-core/lib/legacy_parse.c b/grub-core/lib/legacy_parse.c index f7f86c105..fe421af35 100644 --- a/grub-core/lib/legacy_parse.c +++ b/grub-core/lib/legacy_parse.c @@ -323,8 +323,8 @@ char * grub_legacy_escape (const char *in, grub_size_t len) { char *ptr; - char saved; char *ret; + char saved; int overhead = 0; for (ptr = (char*)in; ptr < in + len && *ptr; ptr++)