diff options
Diffstat (limited to 'test-run-command.c')
-rw-r--r-- | test-run-command.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test-run-command.c b/test-run-command.c index 37918e15f5..89c7de2c60 100644 --- a/test-run-command.c +++ b/test-run-command.c @@ -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; |