Skip to content

Commit 22b8077

Browse files
Fix missing return
1 parent 5cfbe36 commit 22b8077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soot-infoflow/src/soot/jimple/infoflow/taintWrappers/EasyTaintWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public EasyTaintWrapper(EasyTaintWrapper taintWrapper) {
186186
@Override
187187
public Set<AccessPath> getTaintsForMethodInternal(Stmt stmt, AccessPath taintedPath) {
188188
if (!stmt.containsInvokeExpr())
189-
Collections.singleton(taintedPath);
189+
return Collections.singleton(taintedPath);
190190

191191
final Set<AccessPath> taints = new HashSet<AccessPath>();
192192
final SootMethod method = stmt.getInvokeExpr().getMethod();

0 commit comments

Comments
 (0)