diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-01-17 13:32:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-01-17 13:32:35 +0000 |
commit | 7bcb105a9d23d8de458ce7af1d7c127126ccaa10 (patch) | |
tree | 0beab7e5a0ccb92bc0335c27072eff8e158e53c1 /xmlsecurity | |
parent | 6ae487db5a1045d000c14604503e9c8f3bf24e30 (diff) |
coverity#1427630 Unchecked return value
Change-Id: If92d5b080ce9a4e28fe15da1448f74ecf0a31257
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/gpg/xmlsignature_gpgimpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 |