summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/parser/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parser/utils.c b/test/parser/utils.c
index 8900bd7..47779c8 100644
--- a/test/parser/utils.c
+++ b/test/parser/utils.c
@@ -285,7 +285,7 @@ int parser_replace_file(struct discover_context *ctx,
char *buf, int len)
{
struct parser_test *test = ctx->test_data;
- struct test_file *f, *file;
+ struct test_file *f, *file = NULL;
list_for_each_entry(&test->files, f, list) {
if (f->dev != dev)
OpenPOWER on IntegriCloud