Fix compilation error in gcc
This commit is contained in:
parent
f89a4bf343
commit
f9f8f092b5
@ -65,7 +65,7 @@ TestFuncResult test_cpath_join_path(void) {
|
||||
}
|
||||
|
||||
memset(out, 0, strlen(out));
|
||||
snprintf(expected, 1, "");
|
||||
snprintf(expected, 1, "%s", "");
|
||||
wapp_cpath_join_path(out, "", "");
|
||||
|
||||
result = result && strcmp(out, expected) == 0;
|
||||
|
Loading…
Reference in New Issue
Block a user