diff --git a/main.go b/main.go index 1e8bc32..01f5d85 100644 --- a/main.go +++ b/main.go @@ -118,7 +118,7 @@ func delHandler(w http.ResponseWriter, r *http.Request) { res, err := stmt.Exec(html.EscapeString(delkey)) check(err) - affect, err := res.RowsAffected() + _, err := res.RowsAffected() if err == sql.ErrNoRows { io.WriteString(w, "Error invalid paste") } else {