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;

Vincent

------------------------------------------------------------------------------
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