[PATCH]: Silent some warnings in kdevplatform

Stefan Valouch stefan at valouch.de
Sun Aug 9 16:03:13 UTC 2009


Hi,
the attached patch silents a bunch of warnings from g++ (4.4.1).
Mostly, it puts Q_UNUSED() around parameters and add some brackets where g++ 
suggested them. I tried to stay conform to the formatting styles around the 
changed positions.
On positions where the parameters were just used in Q_ASSERTs, I did not add 
Q_UNUSED, cause I did not want to break something.
Additionally, a comment is added at 
kdevplatform/language/editor/modificationrevision.cpp about the include of a 
(now) deprecated header.

Compiles successfully and KDevelop is happy with it.

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevplatform_silent_warnings.patch
Type: text/x-patch
Size: 45288 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090809/06c5781e/attachment.patch>


More information about the KDevelop-devel mailing list