> -----Original Message----- > From: maria-developers- > [email protected] [mailto:maria- > [email protected]] On > Behalf Of Sergei Golubchik > Sent: Dienstag, 18. Oktober 2011 10:15 > To: [email protected] > Subject: Re: [Maria-developers] Compiler warning about assigned but not > used variables fixed
> try not to overuse #ifdef's, (*) > prefer __attribute__((unused)) instead. > it is less error-prone and results in a more maintainable and readable > code. This really depends on what you're used:) With anything but gcc, __attribute__((unused)) is a lengthy zero-effect macro. I did not find double-underscore macros really readable, but it must be just me. _______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp

