index 3d05d4a794a4158a421ce1265422d241e28a5278..c17a538def23c85e6015f07dc446ff4fb9fda352 100644 (file)
--- a/fsck.c
+++ b/fsck.c
int len;
struct strbuf sb = STRBUF_INIT;
- strbuf_addf(&sb, "object %s:", obj->sha1?sha1_to_hex(obj->sha1):"(null)");
+ strbuf_addf(&sb, "object %s:", sha1_to_hex(obj->sha1));
va_start(ap, fmt);
len = vsnprintf(sb.buf + sb.len, strbuf_avail(&sb), fmt, ap);