projects
/
platform
/
upstream
/
cmocka.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f61d2f
)
src: Initialize teardown_name to fix a build warning
sandbox/kopasiak/upstream
author
Andreas Schneider
<asn@cryptomilk.org>
Thu, 22 Jun 2017 07:29:57 +0000
(09:29 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Thu, 22 Jun 2017 07:29:57 +0000
(09:29 +0200)
BUG #60
src/cmocka.c
patch
|
blob
|
history
diff --git
a/src/cmocka.c
b/src/cmocka.c
index
69a8e82
..
f02e412
100644
(file)
--- a/
src/cmocka.c
+++ b/
src/cmocka.c
@@
-3167,7
+3167,7
@@
int _run_group_tests(const UnitTest * const tests, const size_t number_of_tests)
const char *setup_name;
size_t num_setups = 0;
UnitTestFunction teardown = NULL;
- const char *teardown_name;
+ const char *teardown_name
= NULL
;
size_t num_teardowns = 0;
size_t current_test = 0;
size_t i;