Commit 0ec11828 by Michael Schubert

Fix -Wmaybe-uninitialized warning

parent 414bd936
...@@ -424,7 +424,7 @@ static int get_string(const char **out, git_config *cfg, const char *name) ...@@ -424,7 +424,7 @@ static int get_string(const char **out, git_config *cfg, const char *name)
int git_config_get_bool(int *out, git_config *cfg, const char *name) int git_config_get_bool(int *out, git_config *cfg, const char *name)
{ {
const char *value; const char *value = NULL;
int ret; int ret;
if ((ret = get_string(&value, cfg, name)) < 0) if ((ret = get_string(&value, cfg, name)) < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment