Remove unused variable

This commit is contained in:
Eliot Whalan 2016-06-23 14:00:59 +10:00
parent 4152ed5eaa
commit df1930fd7c
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)
affect, 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 {