Skip to content

Commit da9c225

Browse files
emmatypingpicnixz
andauthored
Ignore return value of _zstd_clear()
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent 92f29d8 commit da9c225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_zstd/_zstdmodule.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ _zstd_clear(PyObject *module)
897897
static void
898898
_zstd_free(void *module)
899899
{
900-
_zstd_clear((PyObject *)module);
900+
(void)_zstd_clear((PyObject *)module);
901901
}
902902

903903
static struct PyModuleDef_Slot _zstd_slots[] = {

0 commit comments

Comments
 (0)