mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 07:33:25 +00:00
Fix -Wmaybe-uninitialized warning
This commit is contained in:
parent
414bd93667
commit
0ec118280c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user