summaryrefslogtreecommitdiff
path: root/gitk-git
diff options
context:
space:
mode:
authorLibravatar Antoine Pelisse <apelisse@gmail.com>2013-02-03 14:37:09 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-02-25 07:35:55 -0800
commit3ce3ffb840a1dfa7fcbafa9309fab37478605d08 (patch)
tree559c88acc087efae95e25a70067ff5e1afa0b49c /gitk-git
parentfix clang -Wunused-value warnings for error functions (diff)
downloadtgif-3ce3ffb840a1dfa7fcbafa9309fab37478605d08.tar.xz
fix clang -Wtautological-compare with unsigned enum
Create a GREP_HEADER_FIELD_MIN so we can check that the field value is sane and silence the clang warning. Clang warning happens because the enum is unsigned (this is implementation-defined, and there is no negative fields) and the check is then tautological. Signed-off-by: Antoine Pelisse <apelisse@gmail.com> Signed-off-by: John Keeping <john@keeping.me.uk> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitk-git')
0 files changed, 0 insertions, 0 deletions