From ce77625a60043302fedad7340c142a7bb7f02aee Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Sun, 14 Jul 2013 22:57:42 +0200 Subject: [PATCH] avoid uninitialized variable --- npa/src/npa-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npa/src/npa-tool.c b/npa/src/npa-tool.c index 15ffb5e..3e48c25 100644 --- a/npa/src/npa-tool.c +++ b/npa/src/npa-tool.c @@ -54,7 +54,7 @@ static ssize_t getline(char **lineptr, size_t *n, FILE *stream) int fread_to_eof(const char *file, unsigned char **buf, size_t *buflen) { - FILE *input; + FILE *input = NULL; int r = 0; unsigned char *p;