diff --git a/cpp/common/src/codingstandards/cpp/rules/bitfieldsshouldnotbedeclared/BitFieldsShouldNotBeDeclared.qll b/cpp/common/src/codingstandards/cpp/rules/bitfieldsshouldnotbedeclared/BitFieldsShouldNotBeDeclared.qll index 6404a023e..c35900d5f 100644 --- a/cpp/common/src/codingstandards/cpp/rules/bitfieldsshouldnotbedeclared/BitFieldsShouldNotBeDeclared.qll +++ b/cpp/common/src/codingstandards/cpp/rules/bitfieldsshouldnotbedeclared/BitFieldsShouldNotBeDeclared.qll @@ -17,9 +17,7 @@ signature module BitFieldsShouldNotBeDeclaredConfigSig { } module BitFieldsShouldNotBeDeclared { - query predicate problems( - BitField bf, Class c, string message, Class linkLocation, string linkDescription - ) { + query predicate problems(BitField bf, string message, Class c, string className) { /* * The condition that is allowed that is IF this is a bit-field, then it should be part of a class * that is flagged as a hardware or protocol class. To detect this we look for violations of that form. @@ -28,8 +26,7 @@ module BitFieldsShouldNotBeDeclared