Re: [E-devel] E SVN: stefan trunk/ecore/src/lib/ecore_x/xlib

2012-06-26 Thread Stefan Schmidt
Hello. On 06/26/2012 12:54 PM, Vincent Torri wrote: > On Tue, Jun 26, 2012 at 1:41 PM, Stefan Schmidt 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__) >>> { >>

Re: [E-devel] E SVN: stefan trunk/ecore/src/lib/ecore_x/xlib

2012-06-26 Thread Vincent Torri
On Tue, Jun 26, 2012 at 1:41 PM, Stefan Schmidt 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 mom

Re: [E-devel] E SVN: stefan trunk/ecore/src/lib/ecore_x/xlib

2012-06-26 Thread Stefan Schmidt
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 t

Re: [E-devel] E SVN: stefan trunk/ecore/src/lib/ecore_x/xlib

2012-06-26 Thread Vincent Torri
better (but more boring) #ifdef *** int foo(int i) { } #else int foo(int i __UNUSED__) { } #endif Vincent On Tue, Jun 26, 2012 at 12:55 PM, Enlightenment SVN wrote: > Log: > ecore/gesture: Don't do dead assignments after return. > >  Raster added this for some unused param warnings in 65142. No