Skip to content

Commit

Permalink
Update fuzz_xpath.cpp
Browse files Browse the repository at this point in the history
Remove unused variables
  • Loading branch information
zeux committed Oct 21, 2023
1 parent d75a081 commit 4d42ba7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/fuzz_xpath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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&)
Expand Down

0 comments on commit 4d42ba7

Please sign in to comment.