Add default for `hasOptionalResult` · github/codeql@3efc78e · GitHub
Skip to content

Commit 3efc78e

Browse files
committed
Add default for hasOptionalResult
1 parent adbf66a commit 3efc78e

3 files changed

Lines changed: 5 additions & 13 deletions

File tree

‎cpp/ql/test/library-tests/dataflow/dataflow-tests/has-parameter-flow-out.ql‎

Lines changed: 0 additions & 8 deletions

‎cpp/ql/test/library-tests/dataflow/source-sink-tests/local-flow.ql‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ module LocalFlowSourceTest implements TestSig {
2727
element = node.toString()
2828
)
2929
}
30-
31-
predicate hasOptionalResult(Location location, string element, string tag, string value) {
32-
none()
33-
}
3430
}
3531

3632
import MakeTest<LocalFlowSourceTest>

‎shared/util/codeql/util/test/InlineExpectationsTest.qll‎

Lines changed: 5 additions & 1 deletion

0 commit comments

Comments
 (0)