diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-06-05 08:41:29 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-06-11 08:52:08 +0000 |
commit | 1d3fde4693aee3299b9023ec325cbfee90ed0969 (patch) | |
tree | c24725edd21dee6e97739f37e5548aa19d60d0ba /src/lib | |
parent | f061a73ab9654ccae73b2fcbd58d8f08017bae59 (diff) |
{src,util}: Use NULL instead of 0 for pointer
Change-Id: I75fa4577055f25dde0a8b1044c005bba72cabd92
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26857
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libgcov.c | 2 |
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; |