diff options
| author | Carlos Martín Nieto <cmn@elego.de> | 2012-11-13 16:13:10 -0800 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@elego.de> | 2012-11-13 16:17:37 -0800 |
| commit | 6132a54e0b4b3c5c9b03c0eba191bb756738d34a (patch) | |
| tree | 315527ec0fbad63de351cb569ec8a3447ac49207 /src/config.c | |
| parent | 513e794ef47363b8900816a9b141b3eae81eb83e (diff) | |
| download | libgit2-6132a54e0b4b3c5c9b03c0eba191bb756738d34a.tar.gz | |
Fix a few valgrind errors
Diffstat (limited to 'src/config.c')
| -rw-r--r-- | src/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c index 4fb161169..571a1f998 100644 --- a/src/config.c +++ b/src/config.c @@ -436,7 +436,7 @@ int git_config_get_bool(int *out, git_config *cfg, const char *name) int git_config_get_string(const char **out, git_config *cfg, const char *name) { int ret; - const char *str; + const char *str = NULL; if ((ret = get_string(&str, cfg, name)) < 0) return ret; |
