summaryrefslogtreecommitdiff
path: root/quote.h
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2014-09-21 05:13:58 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-09-22 13:46:43 -0700
commit85de86a16bd853708658eb13689d913bc377ae3e (patch)
tree117cad9a185c2229d5b03fa597d554629533c17e /quote.h
parentmailinfo: make ">From" in-body header check more robust (diff)
downloadtgif-85de86a16bd853708658eb13689d913bc377ae3e.tar.xz
mailinfo: work around -Wstring-plus-int warning
The just-released Apple Xcode 6.0.1 has -Wstring-plus-int enabled by default which complains about pointer arithmetic applied to a string literal: builtin/mailinfo.c:303:24: warning: adding 'long' to a string does not append to the string return !memcmp(SAMPLE + (cp - line), cp, strlen(SAMPLE) ... ~~~~~~~^~~~~~~~~~~~~ Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'quote.h')
0 files changed, 0 insertions, 0 deletions