From 1f932d407f9a38282f4b6c74ee197e9250942443 Mon Sep 17 00:00:00 2001 From: Edward Minnix III Date: Wed, 4 Sep 2024 09:48:02 -0400 Subject: [PATCH] Remove unnecessary `asExpr()` Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com> --- go/ql/lib/semmle/go/frameworks/stdlib/Os.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/ql/lib/semmle/go/frameworks/stdlib/Os.qll b/go/ql/lib/semmle/go/frameworks/stdlib/Os.qll index 3e443d942b16..492e4b002411 100644 --- a/go/ql/lib/semmle/go/frameworks/stdlib/Os.qll +++ b/go/ql/lib/semmle/go/frameworks/stdlib/Os.qll @@ -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() ) }