Unused argument
This commit is contained in:
+4
-1
@@ -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...
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user