diff --git a/cpg-analysis/src/main/kotlin/de/fraunhofer/aisec/cpg/query/Query.kt b/cpg-analysis/src/main/kotlin/de/fraunhofer/aisec/cpg/query/Query.kt index 89aa74fa0b3..fcef8d986a7 100644 --- a/cpg-analysis/src/main/kotlin/de/fraunhofer/aisec/cpg/query/Query.kt +++ b/cpg-analysis/src/main/kotlin/de/fraunhofer/aisec/cpg/query/Query.kt @@ -197,7 +197,7 @@ fun max(n: Node?, eval: ValueEvaluator = MultiValueEvaluator()): QueryTree { val evalRes = from.followNextDFGEdgesUntilHit { it == to } val allPaths = evalRes.fulfilled.map { QueryTree(it) }.toMutableList() - allPaths.addAll(evalRes.failed.map { QueryTree(it) }) + // allPaths.addAll(evalRes.failed.map { QueryTree(it) }) return QueryTree( evalRes.fulfilled.isNotEmpty(), allPaths.toMutableList(),