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 /git_remote_helpers | |
parent | 2da1f36671c3e3e28eba6a56d92249b6671c07d3 (diff) | |
download | git-jk/mbox-from-line.tar.gz |
mailinfo: work around -Wstring-plus-int warningjk/mbox-from-line
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 'git_remote_helpers')
0 files changed, 0 insertions, 0 deletions