Skip to content
Browse files

clean up return

  • Loading branch information...
1 parent 49cfdf6 commit ee28f18259114d19cbdbe5a0c990c7f967d2c36f @bmizerany bmizerany committed Jun 13, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 conn.go
View
3 conn.go
@@ -200,8 +200,7 @@ func (cn *conn) prepareTo(q, stmtName string) (_ driver.Stmt, err error) {
}
func (cn *conn) Prepare(q string) (_ driver.Stmt, err error) {
- st, err := cn.prepareTo(q, cn.gname())
- return st, err
+ return cn.prepareTo(q, cn.gname())
}
func (cn *conn) Close() (err error) {

0 comments on commit ee28f18

Please sign in to comment.
Something went wrong with that request. Please try again.