mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
fuzz-bcd: silence warning about always-true comparison
Occurs with gcc-11.2.1-7.fc35.x86_64.
This commit is contained in:
parent
1341f25b9b
commit
5377ad4ea4
@ -21,6 +21,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||
assert_se(p);
|
||||
|
||||
char16_t *title = get_bcd_title(p, size);
|
||||
assert_se(!title || char16_strlen(title) >= 0);
|
||||
if (title)
|
||||
(void) char16_strlen(title);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user