[PATCH 0/3] Make Git compile warning-free with Clang
- From
John Keeping <john@keeping.me.uk>
- Date
- Feb 3, 2013, 14:37 UTC
- Message-ID
- <cover.1359901732.git.john@keeping.me.uk>
The first two patches here were sent to the list before but seem to have got lost in the noise [1][2]. The final one is new but was prompted by discussion in the same thread.
After applying all of these patches, I don't see any warnings compiling Git with Clang 3.2.
[1] http://article.gmane.org/gmane.comp.version-control.git/213817 [2] http://article.gmane.org/gmane.comp.version-control.git/213849
Antoine Pelisse (1): fix clang -Wtautological-compare with unsigned enum
John Keeping (2): combine-diff: suppress a clang warning builtin/apply: tighten (dis)similarity index parsing
builtin/apply.c | 10 ++++++---- combine-diff.c | 2 +- grep.c | 3 ++- grep.h | 3 ++- 4 files changed, 11 insertions(+), 7 deletions(-)
-- 1.8.1.2