Merge branch 'jk/error-const-return'
authorJunio C Hamano <gitster@pobox.com>
Sun, 6 Jan 2013 07:42:00 +0000 (23:42 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 6 Jan 2013 07:42:00 +0000 (23:42 -0800)
Help compilers' flow analysis by making it more explicit that
error() always returns -1, to reduce false "variable used
uninitialized" warnings. Looks somewhat ugly but not too much.

* jk/error-const-return:
silence some -Wuninitialized false positives
make error()'s constant return value more visible

1  2 
cache.h
config.c
git-compat-util.h
diff --cc cache.h
Simple merge
diff --cc config.c
Simple merge
Simple merge