summaryrefslogtreecommitdiff
path: root/src/commit.h
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2010-06-01 19:32:41 +0100
committerAndreas Ericsson <ae@op5.se>2010-06-02 11:18:55 +0200
commitee1765e529ab6b44adbcc6a0ff6e9ac1359c6cd6 (patch)
treebc7ab9aaf82cd5778fe998117b465b5feeb58c41 /src/commit.h
parent468b12adb15f5546e7c5536f72204605fbd83f6d (diff)
downloadlibgit2-ee1765e529ab6b44adbcc6a0ff6e9ac1359c6cd6.tar.gz
Fix sparse warnings: "Using plain integer as NULL pointer"
In order to suppress this warning, we could simply replace the constant 0 with NULL. However, in this case, replacing the comparison with 0 by !buffer is more idiomatic. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'src/commit.h')
0 files changed, 0 insertions, 0 deletions