Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
config: initialize opts structure in repo_read_config()
[gitweb.git]
/
config.c
diff --git
a/config.c
b/config.c
index 0f0cdd8c0fc9ee40c1f56d1935c1816eb03601ad..c809f7621941b7f1208c8bcd282df3c21005a084 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-2011,7
+2011,7
@@
int git_configset_get_pathname(struct config_set *cs, const char *key, const cha
/* Functions use to read configuration from a repository */
static void repo_read_config(struct repository *repo)
{
- struct config_options opts;
+ struct config_options opts
= { 0 }
;
opts.respect_includes = 1;
opts.commondir = repo->commondir;