changeset 4968:1ba11ade2cf3 fairway-marks-import

Remove unused function
author Tom Gottfried <tom@intevation.de>
date Fri, 28 Feb 2020 16:20:35 +0100
parents 3f704ebad0c5
children 5621586e7a54
files pkg/imports/fm.go
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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