Commit c3be8ff4 authored by Stefan Behnel's avatar Stefan Behnel

Fix test: C compiler warns about uninitialised variables.

parent 36ed7f8a
...@@ -60,7 +60,7 @@ def test_prange_matches_range(int start, int stop, int step): ...@@ -60,7 +60,7 @@ def test_prange_matches_range(int start, int stop, int step):
>>> test_prange_matches_range(2, -10, -3) >>> test_prange_matches_range(2, -10, -3)
>>> test_prange_matches_range(3, -10, -3) >>> test_prange_matches_range(3, -10, -3)
""" """
cdef int i, range_last, prange_last cdef int i = -765432, range_last = -876543, prange_last = -987654
prange_set = set() prange_set = set()
for i in prange(start, stop, step, nogil=True, num_threads=3): for i in prange(start, stop, step, nogil=True, num_threads=3):
prange_last = i prange_last = i
......
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