Unused argument

This commit is contained in:
DonLakeFlyer
2019-10-09 09:32:39 -07:00
parent c9967c748e
commit 08b5d98c0d
+4 -1
View File
@@ -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...
}