[Kde-games-devel] Apparently Unused Function in KBattleShip

Albert Astals Cid aacid at kde.org
Wed Jun 13 20:38:28 UTC 2012


El Dimecres, 13 de juny de 2012, a les 15:30:31, Roney Gomes va escriure:
> Hi.
> 
> I found the following function, member of SeaView, that apparently does
> nothing.
> 
> void Seaview::buttonClicked(Button *button)
> {
>     Q_UNUSED(button);
> }
> 
> It is connected to the signal clicked(Button *button), from BattlefieldView.
> 
> Can someone tell me, please, whether this function is supposed to do
> something in the future or it's just dead code?

Do a svn blame on the file, it's probably there doing nothing for years.

So I suggest you can remove it.

Cheers,
  Albert

> 
> Thanks in advance.
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel


More information about the kde-games-devel mailing list