fix testcase to avoid GCC warning about unused function
authorLisandro Dalcin <dalcinl@gmail.com>
Mon, 22 Dec 2008 20:12:35 +0000 (18:12 -0200)
committerLisandro Dalcin <dalcinl@gmail.com>
Mon, 22 Dec 2008 20:12:35 +0000 (18:12 -0200)
tests/compile/cnamespec.pyx

index fec88d39be57ba456caabd4917c42d10a1b1f03b..66e420b81ce6b1353af7f655b8e6641908c93eb0 100644 (file)
@@ -15,3 +15,6 @@ cdef double spam "c_spam" (int i, float f):
     b = p.i
     p.i = x
     p.i = y
+    return 0.0
+
+spam()