From 7bcb105a9d23d8de458ce7af1d7c127126ccaa10 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 17 Jan 2018 13:32:35 +0000 Subject: coverity#1427630 Unchecked return value Change-Id: If92d5b080ce9a4e28fe15da1448f74ecf0a31257 --- xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmlsecurity') diff --git a/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx b/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx index 4daa74b103c4..82016b8871bd 100644 --- a/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx +++ b/xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx @@ -425,8 +425,8 @@ SAL_CALL XMLSignature_GpgImpl::validate( xmlFree(pKeyPacket); // and re-run (rewind text and signature streams to position 0) - data_text.seek(0,SEEK_SET); - data_signature.seek(0,SEEK_SET); + (void)data_text.seek(0,SEEK_SET); + (void)data_signature.seek(0,SEEK_SET); verify_res=rCtx.verifyDetachedSignature(data_signature, data_text); // TODO: needs some more error handling, needs checking _all_ signatures -- cgit