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:
a006e2e
)
cmocka: Initialize group_state in _cmocka_run_group_tests()
author
Andreas Schneider
<asn@cryptomilk.org>
Tue, 10 Feb 2015 14:34:23 +0000
(15:34 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Tue, 10 Feb 2015 14:49:30 +0000
(15:49 +0100)
CID: #1268623
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
src/cmocka.c
patch
|
blob
|
history
diff --git
a/src/cmocka.c
b/src/cmocka.c
index
c0a1bcf
..
124e0b8
100644
(file)
--- a/
src/cmocka.c
+++ b/
src/cmocka.c
@@
-2527,7
+2527,7
@@
int _cmocka_run_group_tests(const char *group_name,
{
struct CMUnitTestState *cm_tests;
const ListNode *group_check_point = check_point_allocated_blocks();
- void *group_state;
+ void *group_state
= NULL
;
size_t total_failed = 0;
size_t total_passed = 0;
size_t total_executed = 0;