unusued range var
This commit is contained in:
parent
ef8b188fa9
commit
9de375d169
|
@ -1121,7 +1121,7 @@ func cleanupdb(arg string) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
elog.Fatal(err)
|
elog.Fatal(err)
|
||||||
}
|
}
|
||||||
for xid, _ := range filexids {
|
for xid := range filexids {
|
||||||
_, err = tx.Exec("delete from filedata where xid = ?", xid)
|
_, err = tx.Exec("delete from filedata where xid = ?", xid)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
elog.Fatal(err)
|
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})
|
honkers = append(honkers, Honker{XID: xid})
|
||||||
}
|
}
|
||||||
rows.Close()
|
rows.Close()
|
||||||
for i, _ := range honkers {
|
for i := range honkers {
|
||||||
_, honkers[i].Handle = handles(honkers[i].XID)
|
_, honkers[i].Handle = handles(honkers[i].XID)
|
||||||
}
|
}
|
||||||
templinfo := getInfo(r)
|
templinfo := getInfo(r)
|
||||||
|
|
Loading…
Reference in New Issue