index ab64c18a2baf5e88de8e98d9d8526ba3a7dfed14..97f76c58155249412d7c59e965b564dfc0f75181 100644 (file)
--- a/fsck.c
+++ b/fsck.c
{
va_list ap;
int len;
- struct strbuf sb;
+ struct strbuf sb = STRBUF_INIT;
- strbuf_init(&sb, 0);
strbuf_addf(&sb, "object %s:", obj->sha1?sha1_to_hex(obj->sha1):"(null)");
va_start(ap, fmt);