diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-05-04 12:09:52 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-04 16:24:55 +0000 |
commit | df673c28191cca181ef526d02f24b4a7a6f5e200 (patch) | |
tree | 8fe9304aa58e3c0045bba5140f6b6fbb322d7ea7 /testing/libfuzzer/pdf_xml_fuzzer.cc | |
parent | c5fc83c50dee0968bd3c16e69ca84300531c6391 (diff) | |
download | pdfium-df673c28191cca181ef526d02f24b4a7a6f5e200.tar.xz |
Cleanup more null IFX_Pause parameters
This Cl cleans up more IFX_Pause parameters which are always null.
Change-Id: Ia48600f06216db64a2db8e6e97222a91bd4ba149
Reviewed-on: https://pdfium-review.googlesource.com/4890
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'testing/libfuzzer/pdf_xml_fuzzer.cc')
-rw-r--r-- | testing/libfuzzer/pdf_xml_fuzzer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/libfuzzer/pdf_xml_fuzzer.cc b/testing/libfuzzer/pdf_xml_fuzzer.cc index be77016b60..80a112d32b 100644 --- a/testing/libfuzzer/pdf_xml_fuzzer.cc +++ b/testing/libfuzzer/pdf_xml_fuzzer.cc @@ -58,7 +58,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { if (!doc->LoadXML(pdfium::MakeUnique<CFX_XMLParser>(doc->GetRoot(), stream))) return 0; - if (doc->DoLoad(nullptr) < 100) + if (doc->DoLoad() < 100) return 0; (void)XFA_FDEExtension_GetDocumentNode(doc.get()); |