From: Pavel Filipenský Date: Wed, 11 May 2022 10:11:21 +0000 (+0200) Subject: auth: Covscan: unchecked return value for cli_credentials_set_smb_encryption() X-Git-Tag: talloc-2.3.4~132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3960af99e58f3f107f874489b3ab1294eb285cd6;p=thirdparty%2Fsamba.git auth: Covscan: unchecked return value for cli_credentials_set_smb_encryption() Signed-off-by: Pavel Filipenský Reviewed-by: Jeremy Allison Reviewed-by: Douglas Bagnall --- diff --git a/auth/credentials/pycredentials.c b/auth/credentials/pycredentials.c index 94fd13420b1..b779f274b89 100644 --- a/auth/credentials/pycredentials.c +++ b/auth/credentials/pycredentials.c @@ -1136,7 +1136,7 @@ static PyObject *py_creds_set_smb_encryption(PyObject *self, PyObject *args) return NULL; } - cli_credentials_set_smb_encryption(creds, encryption_state, obt); + (void)cli_credentials_set_smb_encryption(creds, encryption_state, obt); Py_RETURN_NONE; }