Commit 7a646983 authored by da-woods's avatar da-woods Committed by Stefan Behnel

Use variable to aboid compiler warning

parent 2a6aa2ef
......@@ -404,7 +404,8 @@ def test_composite(fused_composite x):
### see GH3642 - presence of cdef inside "unrelated" caused a type to be incorrectly inferred
cdef unrelated(cython.floating x):
cdef cython.floating t
cdef cython.floating t = 1
return t
cdef handle_float(float* x): return 'float'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment