summaryrefslogtreecommitdiff
path: root/notes-cache.h
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2013-03-21 07:13:33 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-03-21 14:06:44 -0700
commitc5d5c9a9a3e31b7749e1f7ddfc8825b935eda1eb (patch)
tree5b418d0d06b848186a57145605907906a9ee279f /notes-cache.h
parentdrop some obsolete "x = x" compiler warning hacks (diff)
downloadtgif-c5d5c9a9a3e31b7749e1f7ddfc8825b935eda1eb.tar.xz
transport: drop "int cmp = cmp" hack
According to 47ec794, this initialization is meant to squelch an erroneous uninitialized variable warning from gcc 4.0.1. That version is quite old at this point, and gcc 4.1 and up handle it fine, with one exception. There seems to be a regression in gcc 4.6.3, which produces the warning; however, gcc versions 4.4.7 and 4.7.2 do not. Signed-off-by: Jeff King <peff@peff.net> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-cache.h')
0 files changed, 0 insertions, 0 deletions