mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 12:29:08 +08:00
14 lines
500 B
Diff
14 lines
500 B
Diff
|
diff --git a/src/cmocka.c b/src/cmocka.c
|
||
|
index 6bfc831..4c1c04b 100644
|
||
|
--- a/src/cmocka.c
|
||
|
+++ b/src/cmocka.c
|
||
|
@@ -3356,7 +3356,7 @@ int _run_tests(const UnitTest * const tests, const size_t number_of_tests) {
|
||
|
int _run_group_tests(const UnitTest * const tests, const size_t number_of_tests)
|
||
|
{
|
||
|
UnitTestFunction setup = NULL;
|
||
|
- const char *setup_name;
|
||
|
+ const char *setup_name = NULL;
|
||
|
size_t num_setups = 0;
|
||
|
UnitTestFunction teardown = NULL;
|
||
|
const char *teardown_name = NULL;
|