We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4552ced commit ba45295Copy full SHA for ba45295
1 file changed
PC/msvcrtmodule.c
@@ -541,7 +541,6 @@ PyInit_msvcrt(void)
541
#endif
542
543
/* constants for the crt versions */
544
- (void)st;
545
#ifdef _VC_ASSEMBLY_PUBLICKEYTOKEN
546
st = PyModule_AddStringConstant(m, "VC_ASSEMBLY_PUBLICKEYTOKEN",
547
_VC_ASSEMBLY_PUBLICKEYTOKEN);
@@ -567,6 +566,8 @@ PyInit_msvcrt(void)
567
566
st = PyModule_AddObject(m, "CRT_ASSEMBLY_VERSION", version);
568
if (st < 0) return NULL;
569
+ /* make compiler warning quiet if st is unused */
570
+ (void)st;
571
572
return m;
573
}
0 commit comments