diff options
| author | Junio C Hamano <gitster@pobox.com> | 2013-03-31 19:27:54 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2013-03-31 19:27:54 -0700 |
| commit | a32a0c29dfa7064d010a9d3b7a8970e6dd400999 (patch) | |
| tree | 6cfe01e4f04d114c48a750891f28c5984b4f806a /builtin | |
| parent | 631bc94e67383b66da190550866566f09d32f299 (diff) | |
| parent | 803a777942b0b1c91890c2f97d4f10972cf2881e (diff) | |
| download | git-a32a0c29dfa7064d010a9d3b7a8970e6dd400999.tar.gz | |
Merge branch 'maint'
* maint:
cat-file: Fix an gcc -Wuninitialized warning
fast-import: Fix an gcc -Wuninitialized warning
Diffstat (limited to 'builtin')
| -rw-r--r-- | builtin/cat-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/cat-file.c b/builtin/cat-file.c index ad29000736..40f87b4649 100644 --- a/builtin/cat-file.c +++ b/builtin/cat-file.c @@ -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; + void *contents = NULL; if (!obj_name) return 1; |
