Cleanup unpack_object_header to use only offsets.
[gitweb.git] / strbuf.c
index 672a1e409760d33ad704cec098af3864f06a3a38..9d9d8bed915483abbc2ebb340e0881ae4e296bd4 100644 (file)
--- a/strbuf.c
+++ b/strbuf.c
@@ -4,7 +4,7 @@
 #include "cache.h"
 
 void strbuf_init(struct strbuf *sb) {
-       sb->buf = 0;
+       sb->buf = NULL;
        sb->eof = sb->alloc = sb->len = 0;
 }