[Python-checkins] r87633 - python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/ppro_mulmod.c

stefan.krah python-checkins at python.org
Sun Jan 2 17:54:10 CET 2011


Author: stefan.krah
Date: Sun Jan  2 17:54:10 2011
New Revision: 87633

Log:
Get rid of compiler warning.

Modified:
   python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/ppro_mulmod.c

Modified: python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/ppro_mulmod.c
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/ppro_mulmod.c	(original)
+++ python/branches/py3k-cdecimal/Lib/test/mpdecimal/tests/ppro_mulmod.c	Sun Jan  2 17:54:10 2011
@@ -55,10 +55,8 @@
 	mpd_uint_t a, b, c, d;
 	mpd_uint_t a1, a2, b1, b2;
 	long i;
-	int cw;
-
-	cw = mpd_set_fenv();
 
+	(void)mpd_set_fenv();
 
 	fprintf(stderr, "%s:\n", argv[0]);
 	fprintf(stderr, "testing MULMOD ... ");


More information about the Python-checkins mailing list