Skip to content

Commit bbccce6

Browse files
committed
Fix warnings in test driver
1 parent 2b074e6 commit bbccce6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/test/src/test.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,12 @@ void* bake_test_run_suite_range(
193193

194194
char *test_name = ut_asprintf("%s.%s", suite->id, test->id);
195195
ut_proc proc;
196-
int8_t rc;
197-
int sig;
196+
int8_t rc = 0;
197+
int sig = 0;
198198
bool proc_fail = false;
199199

200+
memset(&proc, 0, sizeof(ut_proc));
201+
200202
if (prefix) {
201203
char *has_space = strchr(prefix, ' ');
202204
if (has_space) {

0 commit comments

Comments
 (0)