Browse Source

Unused argument

QGC4.4
DonLakeFlyer 5 years ago
parent
commit
08b5d98c0d
  1. 5
      CodingStyle.cc

5
CodingStyle.cc

@ -85,8 +85,11 @@ void CodingStyle::_methodWithManyArguments(QWidget* parent, @@ -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...
}

Loading…
Cancel
Save