diff options
author | John Keeping <john@keeping.me.uk> | 2015-03-08 16:32:24 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2015-03-09 17:40:24 +0100 |
commit | 94e5f212f55d3f4dd6ce83edb6db823de7eb8cc7 (patch) | |
tree | d2888a5dd5cdaae7a32131d8acd4cf78b91e85a1 /ui-snapshot.h | |
parent | ui-stats: make cgit_period definitions 'static const' (diff) | |
download | cgit-pink-94e5f212f55d3f4dd6ce83edb6db823de7eb8cc7.tar.gz cgit-pink-94e5f212f55d3f4dd6ce83edb6db823de7eb8cc7.zip |
ui-shared: avoid initializing static variable to zero
Sparse complains that we are using a plain integer as a NULL pointer here, but in fact we do not have to specify a value for this variable at all since it has static storage duration and thus will be initialized to NULL by the compiler. Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'ui-snapshot.h')
0 files changed, 0 insertions, 0 deletions