diff options
author | James R. Barlow <james@purplerock.ca> | 2021-04-04 00:46:06 -0700 |
---|---|---|
committer | James R. Barlow <james@purplerock.ca> | 2021-04-04 00:46:06 -0700 |
commit | 22a53344aad0d99c0ad7e7c1504dded3384572d3 (patch) | |
tree | d3fe0ddf195b1b5478d2d888ace9afe9d26368ed | |
parent | df36c692efbf49616aebd3497da0fe6cea79ca3d (diff) |
coverage: omit InputSource::rewind()
-rw-r--r-- | src/qpdf/qpdf_inputsource.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qpdf/qpdf_inputsource.h b/src/qpdf/qpdf_inputsource.h index b19de12..f973768 100644 --- a/src/qpdf/qpdf_inputsource.h +++ b/src/qpdf/qpdf_inputsource.h @@ -73,10 +73,13 @@ public: this->stream.attr("seek")(offset, whence); } + // LCOV_EXCL_START void rewind() override { + // qpdf never seems to use this but still requires this->seek(0, SEEK_SET); } + // LCOV_EXCL_STOP size_t read(char* buffer, size_t length) override { |