]> git.ipfire.org Git - thirdparty/git.git/blobdiff - test-run-command.c
run-command: introduce CHILD_PROCESS_INIT
[thirdparty/git.git] / test-run-command.c
index 37918e15f5ce06d0079ce09ae1a7be7b14533c48..89c7de2c600ce2781ce666324e703d555937740a 100644 (file)
@@ -15,9 +15,7 @@
 
 int main(int argc, char **argv)
 {
-       struct child_process proc;
-
-       memset(&proc, 0, sizeof(proc));
+       struct child_process proc = CHILD_PROCESS_INIT;
 
        if (argc < 3)
                return 1;