]> git.ipfire.org Git - thirdparty/git.git/blobdiff - strvec.h
Sync with 2.39.3
[thirdparty/git.git] / strvec.h
index 6b3cbd675895116586407ee4214acfb9b042b33d..9f55c8766ba9de77437275b8796f8e348fe35e03 100644 (file)
--- a/strvec.h
+++ b/strvec.h
@@ -33,7 +33,9 @@ struct strvec {
        size_t alloc;
 };
 
-#define STRVEC_INIT { empty_strvec, 0, 0 }
+#define STRVEC_INIT { \
+       .v = empty_strvec, \
+}
 
 /**
  * Initialize an array. This is no different than assigning from