Remove unused variable

This commit is contained in:
Eliot Whalan 2016-06-23 14:01:29 +10:00
parent df1930fd7c
commit b866d1a700
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ func delHandler(w http.ResponseWriter, r *http.Request) {
res, err := stmt.Exec(html.EscapeString(delkey)) res, err := stmt.Exec(html.EscapeString(delkey))
check(err) check(err)
_, err := res.RowsAffected() _, err = res.RowsAffected()
if err == sql.ErrNoRows { if err == sql.ErrNoRows {
io.WriteString(w, "Error invalid paste") io.WriteString(w, "Error invalid paste")
} else { } else {