Skip to content

Commit 6c14eeb

Browse files
Remove redundant condition
1 parent a9ac2f1 commit 6c14eeb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

c/misra/src/rules/RULE-8-3/DeclarationsOfAFunctionSameNameAndType.ql

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import codingstandards.c.misra
1717
import codingstandards.cpp.types.Compatible
1818

1919
predicate interestedInFunctions(FunctionDeclarationEntry f1, FunctionDeclarationEntry f2) {
20-
f1.getDeclaration() = f2.getDeclaration() and
2120
not f1 = f2 and
2221
f1.getDeclaration() = f2.getDeclaration()
2322
}

0 commit comments

Comments
 (0)