diff options
author | Edward Thomson <ethomson@github.com> | 2016-03-28 08:56:13 -0700 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2016-03-28 08:56:13 -0700 |
commit | 76e1a679eab9964c2857ead896e170cacb0cef1d (patch) | |
tree | 97bb524c9387ab1fbfb70d709f15960047f41785 | |
parent | e25e1ca1b24a2cb0f7c10f9ff6723283b06e4f22 (diff) | |
download | libgit2-76e1a679eab9964c2857ead896e170cacb0cef1d.tar.gz |
config::write::repeated: init our buffer
-rw-r--r-- | tests/config/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/config/write.c b/tests/config/write.c index ac0272eac..e83cfb415 100644 --- a/tests/config/write.c +++ b/tests/config/write.c @@ -700,7 +700,7 @@ void test_config_write__repeated(void) { const char *filename = "config-repeated"; git_config *cfg; - git_buf result; + git_buf result = GIT_BUF_INIT; const char *expected = "[sample \"prefix\"]\n\ \tsetting1 = someValue1\n\ \tsetting2 = someValue2\n\ |