diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-09-21 20:40:28 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-09-21 20:40:28 (GMT) |
commit | ba4529593877f2016215149912496e030782a57e (patch) | |
tree | 30f94b20b831c87b1e57338865083b84201fe21d /PC/msvcrtmodule.c | |
parent | 4552ced91673b5138460e3d697b4bea8f4aab93b (diff) | |
download | cpython-ba4529593877f2016215149912496e030782a57e.zip cpython-ba4529593877f2016215149912496e030782a57e.tar.gz cpython-ba4529593877f2016215149912496e030782a57e.tar.bz2 |
ssue #25207: fix ICC compiler warning in msvcrtmodule.c
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 52d4100..d73ce79 100644 --- a/PC/msvcrtmodule.c +++ b/PC/msvcrtmodule.c @@ -541,7 +541,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); @@ -567,6 +566,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; } |