Browse Source

Merge pull request #7895 from DonLakeFlyer/CodingStyle

Coding Style: Unused arguments
QGC4.4
Don Gagne 6 years ago committed by GitHub
parent
commit
eb6f92d6a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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