testsuite: ztest: src: fix missing final else
cleanup_test() was missing final else statement in the if else if construct. This commit adds else {} to comply with coding guideline 15.7. Signed-off-by: Jennifer Williams <jennifer.m.williams@intel.com>
This commit is contained in:
parent
163b7f0d82
commit
b65abf1d4b
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,8 @@ static int cleanup_test(struct unit_test *test)
|
|||
PRINT("Test %s failed: Unused mock return values\n",
|
||||
test->name);
|
||||
ret = TC_FAIL;
|
||||
} else {
|
||||
;
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue