diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-01-22 01:56:46 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-01-22 01:58:29 +0100 |
commit | db52db4afa8911516d86f14bba02214238bd6b91 (patch) | |
tree | 7d48299ee911ea1f486ec620822ab97fb3760e0f | |
parent | fuzz: check return value (diff) | |
download | systemd-db52db4afa8911516d86f14bba02214238bd6b91.tar.xz systemd-db52db4afa8911516d86f14bba02214238bd6b91.zip |
fuzz: cast to void when return value is ignored
-rw-r--r-- | src/fuzz/fuzz-dhcp-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzz/fuzz-dhcp-server.c b/src/fuzz/fuzz-dhcp-server.c index bdebb375df..ba903c7158 100644 --- a/src/fuzz/fuzz-dhcp-server.c +++ b/src/fuzz/fuzz-dhcp-server.c @@ -62,7 +62,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { server->bound_leases[pool_offset] = lease; assert_se(hashmap_put(server->leases_by_client_id, &lease->client_id, lease) >= 0); - dhcp_server_handle_message(server, (DHCPMessage*)data, size); + (void) dhcp_server_handle_message(server, (DHCPMessage*)data, size); return 0; } |