From 7abeaf17de3f9ea46506c4264da317d4179566e2 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Fri, 6 Feb 2009 11:39:43 -0200 Subject: [PATCH] quick fix in testcase to avoid C compiler warnings --- tests/run/pure.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run/pure.pyx b/tests/run/pure.pyx index 90a9d727..44b29961 100644 --- a/tests/run/pure.pyx +++ b/tests/run/pure.pyx @@ -53,7 +53,7 @@ def test_declare(n): y = cython.declare(cython.int, n) if cython.compiled: cython.declare(xx=cython.int, yy=cython.long) - sizeof(xx) + i = sizeof(xx) ptr = cython.declare(cython.p_int, cython.address(y)) return y, ptr[0] -- 2.26.2