Fix -Wmaybe-uninitialized warning

This commit is contained in:
Michael Schubert 2012-11-16 02:17:57 +01:00
parent 414bd93667
commit 0ec118280c

View File

@ -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)
{
const char *value;
const char *value = NULL;
int ret;
if ((ret = get_string(&value, cfg, name)) < 0)