0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-25 20:14:10 +08:00

Update fuzz_xpath.cpp

Remove unused variables
This commit is contained in:
Arseny Kapoulkine 2023-10-21 11:20:03 -07:00 committed by GitHub
parent d75a081aa3
commit 4d42ba7a60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,11 +31,11 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size)
pugi::xml_document doc;
doc.load_buffer(xml_buffer.data(), xml_buffer.size(), pugi::parse_full);
bool boolean = q.evaluate_boolean(doc);
double num = q.evaluate_number(doc);
pugi::string_t s = q.evaluate_string(doc);
pugi::xpath_node n = q.evaluate_node(doc);
pugi::xpath_node_set set = q.evaluate_node_set(doc);
q.evaluate_boolean(doc);
q.evaluate_number(doc);
q.evaluate_string(doc);
q.evaluate_node(doc);
q.evaluate_node_set(doc);
}
#ifndef PUGIXML_NO_EXCEPTIONS
catch (pugi::xpath_exception&)