Skip to content

Commit 4c63567

Browse files
Delete test predicate
1 parent 89ee1b7 commit 4c63567

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

cpp/misra/src/rules/RULE-15-1-4/NonStaticMemberNotInitBeforeUse.ql

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,6 @@ class IncompleteAggregateNew extends NewOrNewArrayExpr, IncompleteInitialization
208208
override string getKindStr() { result = "Aggregate new expression" }
209209
}
210210

211-
predicate test(IncompleteConstructor c, CheckedField f) {
212-
c.getField() = f and
213-
f.getName() = "num_polls" and
214-
not exists(f.getInitializer()) and
215-
not f.hasInitializer() and
216-
not exists(f.getAnAssignment())
217-
}
218-
219211
from IncompleteInitialization init, CheckedField f, int total, int ranked, string suffix
220212
where
221213
not isExcluded(init, Classes4Package::nonStaticMemberNotInitBeforeUseQuery()) and

0 commit comments

Comments
 (0)