Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix some sparse warnings
[gitweb.git]
/
streaming.c
diff --git
a/streaming.c
b/streaming.c
index 870657ab5643baac23bbc4ce2a2a073a14299a5f..acc07a6ff10cbd951945be56217e52b219661414 100644
(file)
--- a/
streaming.c
+++ b/
streaming.c
@@
-135,7
+135,7
@@
struct git_istream *open_istream(const unsigned char *sha1,
struct stream_filter *filter)
{
struct git_istream *st;
- struct object_info oi = {
0
};
+ struct object_info oi = {
NULL
};
const unsigned char *real = lookup_replace_object(sha1);
enum input_source src = istream_source(real, type, &oi);