-Wunused-but-set-variable warnings

Albert Astals Cid aacid at kde.org
Mon Jul 4 19:07:20 BST 2011

A Monday, July 04, 2011, Dawit A va escriure:
> The following files all contain set but unused variables:
> snip
> Unlike the -Wunused-parameter fixing this warning messages requires
> context because the variable may be set and unused due to a mistake
> that can potentially be causing a bug. As such can kdelibs cmake file
> be changed to error out, -Werror=unused-but-set-variable, for such
> warnings ?

You really want to make kdelibs uncompilable?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110704/30afd382/attachment.htm>

More information about the kde-core-devel mailing list