mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 09:09:33 +00:00
config::write::repeated: init our buffer
This commit is contained in:
parent
e25e1ca1b2
commit
76e1a679ea
@ -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\
|
||||
|
Loading…
Reference in New Issue
Block a user