all repos — honk @ 4627a7cb216839a224d5b55b9f18031dbbb12599

my fork of honk

unusued range var
Ted Unangst tedu@tedunangst.com
Wed, 02 Aug 2023 23:34:24 -0400
commit

4627a7cb216839a224d5b55b9f18031dbbb12599

parent

d3a951e7f475a2650f6b9640fdfe31b53ad21600

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M database.godatabase.go

@@ -1121,7 +1121,7 @@ tx, err := blobdb.Begin()

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)
M web.goweb.go

@@ -602,7 +602,7 @@ rows.Scan(&xid)

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)