summaryrefslogtreecommitdiffstats
path: root/discover/grub2/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/grub2/env.c')
-rw-r--r--discover/grub2/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/grub2/env.c b/discover/grub2/env.c
index 9de5e9f..1336824 100644
--- a/discover/grub2/env.c
+++ b/discover/grub2/env.c
@@ -17,7 +17,7 @@ static const char *signature = "# GRUB Environment Block\n";
static int parse_buf_to_env(struct grub2_script *script, void *buf, int len)
{
- char *tmp, *line, *sep;
+ char *tmp = NULL, *line, *sep;
int siglen;
siglen = strlen(signature);
OpenPOWER on IntegriCloud