summaryrefslogtreecommitdiffstats
path: root/src/erec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/erec.c')
-rw-r--r--src/erec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/erec.c b/src/erec.c
index 32fb079f..a4b93fb0 100644
--- a/src/erec.c
+++ b/src/erec.c
@@ -111,7 +111,7 @@ void print_location(FILE *f, const struct input_descriptor *indesc,
const char *line_location(const struct input_descriptor *indesc,
const struct location *loc, char *buf, size_t bufsiz)
{
- const char *line;
+ const char *line = NULL;
FILE *f;
f = fopen(indesc->name, "r");