Review Request: Reduce the warnings about unused parameters

Thiago Macieira thiago at kde.org
Sat Nov 21 08:58:05 GMT 2009


Em Sábado 21. Novembro 2009, às 02.58.53, Raphael Kubo da Costa escreveu:
> To avoid "-pedantic" commits, it's better to remove the trailing ";" as the
>  Q_UNUSED macro already adds it.

I've never seen the compiler complain about extra semicolons in code. 
Therefore, I suggest leaving them after Q_UNUSED, because that helps with 
indentation in most editors.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20091121/167b3d15/attachment.sig>


More information about the kde-core-devel mailing list