tree-wide: some automatic coccinelle fixes (#10463)
Nothing fancy, just coccinelle doing its work.
This commit is contained in:
committed by
Yu Watanabe
parent
a4544f53c4
commit
490c5a37cb
@@ -84,7 +84,7 @@ static void test_unhexmem_one(const char *s, size_t l, int retval) {
|
||||
l = strlen(s);
|
||||
|
||||
assert_se(hex = hexmem(mem, len));
|
||||
answer = strndupa(s ?: "", l);
|
||||
answer = strndupa(strempty(s), l);
|
||||
assert_se(streq(delete_chars(answer, WHITESPACE), hex));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user