diff options
Diffstat (limited to 'src/status.c')
| -rw-r--r-- | src/status.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/status.c b/src/status.c index 95e4588b7..0732d4a9f 100644 --- a/src/status.c +++ b/src/status.c @@ -205,6 +205,7 @@ int git_status_foreach( { git_status_options opts; + memset(&opts, 0, sizeof(opts)); opts.show = GIT_STATUS_SHOW_INDEX_AND_WORKDIR; opts.flags = GIT_STATUS_OPT_INCLUDE_IGNORED | GIT_STATUS_OPT_INCLUDE_UNTRACKED | |
