diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2013-03-26 19:20:11 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-29 23:47:00 -0700 |
commit | 803a777942b0b1c91890c2f97d4f10972cf2881e (patch) | |
tree | 209e13a413eb6a6b75c8cf60995d06983f0a23e5 /mailmap.h | |
parent | fast-import: Fix an gcc -Wuninitialized warning (diff) | |
download | tgif-803a777942b0b1c91890c2f97d4f10972cf2881e.tar.xz |
cat-file: Fix an gcc -Wuninitialized warning
After commit cbfd5e1c ("drop some obsolete "x = x" compiler warning
hacks", 21-03-2013) removed a gcc specific hack, older versions of
gcc now issue an "'contents' might be used uninitialized" warning.
In order to suppress the warning, we simply initialize the variable
to NULL in it's declaration.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mailmap.h')
0 files changed, 0 insertions, 0 deletions