mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-07 22:19:12 +00:00
fuzz: Address warning -Wunused-function with regard to sip24_valid
This commit is contained in:
parent
9e603b35e0
commit
73ebe0bfb3
2 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,7 @@ ParseOneInput(XML_Parser p, const uint8_t *data, size_t size) {
|
|||
// Set the hash salt using siphash to generate a deterministic hash.
|
||||
struct sipkey *key = sip_keyof(hash_key);
|
||||
XML_SetHashSalt(p, (unsigned long)siphash24(data, size, key));
|
||||
(void)sip24_valid;
|
||||
|
||||
XML_SetElementHandler(p, start, end);
|
||||
XML_Parse(p, (const XML_Char *)data, size, 0);
|
||||
|
|
|
@ -53,6 +53,7 @@ ParseOneInput(XML_Parser p, const uint8_t *data, size_t size) {
|
|||
// Set the hash salt using siphash to generate a deterministic hash.
|
||||
struct sipkey *key = sip_keyof(hash_key);
|
||||
XML_SetHashSalt(p, (unsigned long)siphash24(data, size, key));
|
||||
(void)sip24_valid;
|
||||
|
||||
XML_SetElementHandler(p, start, end);
|
||||
void *buf = XML_GetBuffer(p, size);
|
||||
|
|
Loading…
Add table
Reference in a new issue