diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2010-06-01 19:32:41 +0100 |
---|---|---|
committer | Andreas Ericsson <ae@op5.se> | 2010-06-02 11:18:55 +0200 |
commit | ee1765e529ab6b44adbcc6a0ff6e9ac1359c6cd6 (patch) | |
tree | bc7ab9aaf82cd5778fe998117b465b5feeb58c41 /src/thread-utils.c | |
parent | 468b12adb15f5546e7c5536f72204605fbd83f6d (diff) | |
download | libgit2-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/thread-utils.c')
0 files changed, 0 insertions, 0 deletions