diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2014-09-21 05:13:58 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-22 13:46:43 -0700 |
commit | 85de86a16bd853708658eb13689d913bc377ae3e (patch) | |
tree | 117cad9a185c2229d5b03fa597d554629533c17e /t/t5515/fetch.br-remote-glob-octopus_remote-glob | |
parent | mailinfo: make ">From" in-body header check more robust (diff) | |
download | tgif-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 't/t5515/fetch.br-remote-glob-octopus_remote-glob')
0 files changed, 0 insertions, 0 deletions