]> git.ipfire.org Git - thirdparty/git.git/blobdiff - oid-array.h
*.[ch] *_INIT macros: use { 0 } for a "zero out" idiom
[thirdparty/git.git] / oid-array.h
index 72bca78b7dc129313dfd2e0b6d9271179cda1ce0..f60f9af6741dc5acafb61b8a8a1562f49f92a600 100644 (file)
@@ -56,7 +56,7 @@ struct oid_array {
        int sorted;
 };
 
-#define OID_ARRAY_INIT { NULL, 0, 0, 0 }
+#define OID_ARRAY_INIT { 0 }
 
 /**
  * Add an item to the set. The object ID will be placed at the end of the array