diff options
Diffstat (limited to 'PC/msvcrtmodule.c')
-rw-r--r-- | PC/msvcrtmodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/PC/msvcrtmodule.c b/PC/msvcrtmodule.c index b0739d0167f..a6bd083827b 100644 --- a/PC/msvcrtmodule.c +++ b/PC/msvcrtmodule.c @@ -540,7 +540,6 @@ PyInit_msvcrt(void) #endif /* constants for the crt versions */ - (void)st; #ifdef _VC_ASSEMBLY_PUBLICKEYTOKEN st = PyModule_AddStringConstant(m, "VC_ASSEMBLY_PUBLICKEYTOKEN", _VC_ASSEMBLY_PUBLICKEYTOKEN); @@ -566,6 +565,8 @@ PyInit_msvcrt(void) st = PyModule_AddObject(m, "CRT_ASSEMBLY_VERSION", version); if (st < 0) return NULL; #endif + /* make compiler warning quiet if st is unused */ + (void)st; return m; } |