Skip to content

Commit

Permalink
Remove unnecessary asExpr()
Browse files Browse the repository at this point in the history
Co-authored-by: Owen Mansel-Chan <[email protected]>
  • Loading branch information
egregius313 and owen-mc authored Sep 4, 2024
1 parent c11da42 commit e6f66d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/ql/lib/semmle/go/frameworks/stdlib/Os.qll
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module Os {
private class Stdin extends SourceNode {
Stdin() {
exists(Variable osStdin | osStdin.hasQualifiedName("os", "Stdin") |
this.asExpr() = osStdin.getARead().asExpr()
this = osStdin.getARead()
)
}

Expand Down

0 comments on commit e6f66d6

Please sign in to comment.