Hello.

On 06/26/2012 12:54 PM, Vincent Torri wrote:
> On Tue, Jun 26, 2012 at 1:41 PM, Stefan Schmidt<[email protected]>  wrote:
>> Hello.
>>
>> On 06/26/2012 12:16 PM, Vincent Torri wrote:
>>> better (but more boring)
>>>
>>> #ifdef ***
>>> int foo(int i)
>>> {
>>> }
>>> #else
>>> int foo(int i __UNUSED__)
>>> {
>>> }
>>> #endif
>>
>> Actually I have been thinking about that for a moment. I did not choose
>> it in the end because I found it confusing to have the two function
>> names. More then having this vars unset. Personal taste as so often.
>>
>> Why do you think this option is better? Maybe something I haven't
>> thought about.
>
> no strange stuff after a return like (void)i; or the __UNUSED__ i;

It might would have been the wiser choice. I reverted the two changes as 
they broke buildbot. Don't know why as they did build fine here.

So this has to wait when I have some spare minutes again. Nothing urgent 
anyway.

regards
Stefan Schmidt

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to