unusued range var
This commit is contained in:
parent
ef8b188fa9
commit
9de375d169
2 changed files with 2 additions and 2 deletions
|
@ -1121,7 +1121,7 @@ func cleanupdb(arg string) {
|
|||
if err != nil {
|
||||
elog.Fatal(err)
|
||||
}
|
||||
for xid, _ := range filexids {
|
||||
for xid := range filexids {
|
||||
_, err = tx.Exec("delete from filedata where xid = ?", xid)
|
||||
if err != nil {
|
||||
elog.Fatal(err)
|
||||
|
|
2
web.go
2
web.go
|
@ -602,7 +602,7 @@ func xzone(w http.ResponseWriter, r *http.Request) {
|
|||
honkers = append(honkers, Honker{XID: xid})
|
||||
}
|
||||
rows.Close()
|
||||
for i, _ := range honkers {
|
||||
for i := range honkers {
|
||||
_, honkers[i].Handle = handles(honkers[i].XID)
|
||||
}
|
||||
templinfo := getInfo(r)
|
||||
|
|
Loading…
Reference in a new issue