Skip to content

Commit 85a8bae

Browse files
committed
ignore unused variable warning
1 parent 6bc3d73 commit 85a8bae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Python/sysmodule.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Data members:
3636
#include "pycore_pystats.h" // _Py_PrintSpecializationStats()
3737
#include "pycore_structseq.h" // _PyStructSequence_InitBuiltinWithFlags()
3838
#include "pycore_sysmodule.h" // export _PySys_GetSizeOf()
39-
#include "pycore_unicodeobject.h" // _PyUnicode_InternImmortal()
39+
#include "pycore_unicodeobject.h" // _PyUnicode_InternImmortal(), _PyUnicode_EqualToASCIIString()
4040

4141
#include "pydtrace.h" // PyDTrace_AUDIT()
4242
#include "osdefs.h" // DELIM
@@ -213,6 +213,8 @@ PySys_GetObject(const char *name)
213213
return NULL;
214214
}
215215
}
216+
#else
217+
(void) ret; // ignore unused variable warning
216218
#endif
217219
return value;
218220
}

0 commit comments

Comments
 (0)