# HG changeset patch # User Tom Gottfried # Date 1582903235 -3600 # Node ID 1ba11ade2cf35a36187fa5aaf3285b491994622f # Parent 3f704ebad0c50c12907095b08d67fe0f6d8ee8c4 Remove unused function diff -r 3f704ebad0c5 -r 1ba11ade2cf3 pkg/imports/fm.go --- a/pkg/imports/fm.go Fri Feb 28 16:18:44 2020 +0100 +++ b/pkg/imports/fm.go Fri Feb 28 16:20:35 2020 +0100 @@ -539,15 +539,6 @@ ) } -func coalesceInt64(ints ...*int64) sql.NullInt64 { - for _, i := range ints { - if i != nil { - return sql.NullInt64{Int64: *i, Valid: true} - } - } - return sql.NullInt64{} -} - func storeAttribs(spc *SQLPointConsumer, id int64, attrs *string) { if attrs == nil || *attrs == "" { return