diff options
author | Jeff King <peff@peff.net> | 2015-01-28 12:58:50 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-01-28 12:46:07 -0800 |
commit | 94ee8e2c98cf4adf0c69b3b8ce5039eea92347b7 (patch) | |
tree | 451f0890721c2edd8fcc501723ffedfb4a5022ee /Documentation/RelNotes-1.6.0.1.txt | |
parent | Smart fetch over HTTP: client side (diff) | |
download | tgif-94ee8e2c98cf4adf0c69b3b8ce5039eea92347b7.tar.xz |
do not check truth value of flex arrays
There is no point in checking "!ref->name" when ref is a
"struct ref". The name field is a flex-array, and there
always has a non-zero address. This is almost certainly not
hurting anything, but it does cause clang-3.6 to complain.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes-1.6.0.1.txt')
0 files changed, 0 insertions, 0 deletions