about summary refs log tree commit diff
path: root/ui-summary.c
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2015-03-08 16:32:24 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2015-03-09 17:40:24 +0100
commit94e5f212f55d3f4dd6ce83edb6db823de7eb8cc7 (patch)
treed2888a5dd5cdaae7a32131d8acd4cf78b91e85a1 /ui-summary.c
parentui-stats: make cgit_period definitions 'static const' (diff)
downloadcgit-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-summary.c')
0 files changed, 0 insertions, 0 deletions
1/hi.1?id=5e96c5f7d329a979aa36e5c66d9affe529ea852d&follow=1'>Add hi -nJune McEnroe 2019-02-08Elaborate hi man pageJune McEnroe 2019-02-08Use set for parent in hiJune McEnroe 2019-02-08Switch back to semantic keyword grouping in hiJune McEnroe 2019-02-08Match only the basename in hiJune McEnroe 2019-02-07Add mdoc syntax to hiJune McEnroe 2019-02-07Support multi-line C macros in hiJune McEnroe 2019-02-07Detect .mk files as makeJune McEnroe 2019-02-07Add make syntax to hiJune McEnroe 2019-02-07Add IRC output to hiJune McEnroe 2019-02-07Improve C syntax accuracy and add Format classJune McEnroe 2019-02-07Factor out hi checkJune McEnroe Fix subexpression bounds check and compile pattends. 2019-02-07Add Escape class to hiJune McEnroe 2019-02-07Add Todo class and parent syntax constraintJune McEnroe