2
0

Fix staticcheck issues

This commit is contained in:
Jack Christensen
2023-07-28 18:04:26 -05:00
parent 8fb309c631
commit 1a9b2a53a5
8 changed files with 34 additions and 37 deletions
+1 -1
View File
@@ -507,7 +507,7 @@ func (c *Conn) execSimpleProtocol(ctx context.Context, sql string, arguments []a
mrr := c.pgConn.Exec(ctx, sql)
for mrr.NextResult() {
commandTag, err = mrr.ResultReader().Close()
commandTag, _ = mrr.ResultReader().Close()
}
err = mrr.Close()
return commandTag, err