Commit bf038dab30df4cf82382c0b5a123b0f403b2c3a9

Vicent Marti 2011-11-22T02:06:24

clay: Properly initialize filebuf

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests-clay/config/stress.c b/tests-clay/config/stress.c
index 7b81400..8323215 100644
--- a/tests-clay/config/stress.c
+++ b/tests-clay/config/stress.c
@@ -8,7 +8,7 @@
 
 void test_config_stress__initialize(void)
 {
-	git_filebuf file;
+	git_filebuf file = GIT_FILEBUF_INIT;
 
 	git_filebuf_open(&file, TEST_CONFIG, 0);