summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libgcov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libgcov.c b/src/lib/libgcov.c
index 70a4073253..887351aa57 100644
--- a/src/lib/libgcov.c
+++ b/src/lib/libgcov.c
@@ -409,7 +409,7 @@ gcov_exit(void)
gcov_position_t summary_pos = 0;
gcov_position_t eof_pos = 0;
const char *fname, *s;
- struct gcov_fn_buffer *fn_buffer = 0;
+ struct gcov_fn_buffer *fn_buffer = NULL;
struct gcov_fn_buffer **fn_tail = &fn_buffer;
fname = gi_ptr->filename;