From 08b5d98c0dd80bf47a54ef40e84837972663de1c Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Wed, 9 Oct 2019 09:32:39 -0700 Subject: [PATCH] Unused argument --- CodingStyle.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CodingStyle.cc b/CodingStyle.cc index 0555bdb..d50968f 100644 --- a/CodingStyle.cc +++ b/CodingStyle.cc @@ -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... }