Skip to content

Commit

Permalink
Unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
DonLakeFlyer committed Oct 9, 2019
1 parent c9967c7 commit 08b5d98
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CodingStyle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,11 @@ void CodingStyle::_methodWithManyArguments(QWidget* parent,
const QString& caption,
const QString& dir,
Options options1,
Options options2,
Options /* options2 */,
Options options3)
{
// options2 is an unused method argument.
// Do not use Q_UNUSUED and do not just remove the argument name and leave the type.

// Implementataion here...
}

0 comments on commit 08b5d98

Please sign in to comment.