It was a remnant after when the refnanny raised exceptions which I 
forgot to remove; the correct thing is to be a noop now. (It needed to 
return 0 earlier on and was used in an expression then.)

Dag Sverre

Lisandro Dalcin wrote:
> A "(void)0" shoud also do the trick, right?
> 
> On Sat, Feb 21, 2009 at 2:29 PM, Dag Sverre Seljebotn
> <[email protected]> wrote:
>> Jason Evans wrote:
>>> The following line in ModuleNode.py causes hundreds of compiler warnings
>>> about statements with no effect when I compile Crux:
>>>
>>>       #define __Pyx_FinishRefcountContext() 0
>>>
>>> IMO, the 0 should simply be removed, but this would also be okay if you
>>> want a non-empty definition:
>>>
>>>       #define __Pyx_FinishRefcountContext() do {} while (0)
>>>
>> Ahh, right. Thanks!
>>
>> http://hg.cython.org/cython-devel/rev/b5723a7a044a
>>
>>
>> --
>> Dag Sverre
>> _______________________________________________
>> Cython-dev mailing list
>> [email protected]
>> http://codespeak.net/mailman/listinfo/cython-dev
>>
> 
> 
> 


-- 
Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to