]> granicus.if.org Git - python/commitdiff
silence compiler warning
authorBenjamin Peterson <benjamin@python.org>
Mon, 22 Dec 2008 22:12:19 +0000 (22:12 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 22 Dec 2008 22:12:19 +0000 (22:12 +0000)
Modules/_testcapimodule.c

index d7ec73031db02232899b899dc40515e7d232832d..145d5b62918b39de01c1ff62b3a96d3e734dee67 100644 (file)
@@ -487,6 +487,7 @@ test_u_code(PyObject *self)
        /* issue4122: Undefined reference to _Py_ascii_whitespace on Windows */
        /* Just use the macro and check that it compiles */
        int x = Py_UNICODE_ISSPACE(25);
+       x = x;
 
         tuple = PyTuple_New(1);
         if (tuple == NULL)