]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
auth: Covscan: unchecked return value for cli_credentials_set_smb_encryption()
authorPavel Filipenský <pfilipen@redhat.com>
Wed, 11 May 2022 10:11:21 +0000 (12:11 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 14 May 2022 03:49:32 +0000 (03:49 +0000)
Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
auth/credentials/pycredentials.c

index 94fd13420b1940a2e4ea93ae547192cc7d35c787..b779f274b8942bda0ea5f8a155d365c3b8820741 100644 (file)
@@ -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;
 }