remote-bzr: fix utf-8 support for fetching
[gitweb.git] / builtin / cat-file.c
index 00528ddc389212f045a7718ba55a26d723927f06..40f87b4649aa97ca1f33a02f09f5938ce5f41f74 100644 (file)
@@ -193,7 +193,7 @@ static int batch_one_object(const char *obj_name, int print_contents)
        unsigned char sha1[20];
        enum object_type type = 0;
        unsigned long size;
-       void *contents = contents;
+       void *contents = NULL;
 
        if (!obj_name)
           return 1;