From 267127245a6b9b0ad6475b9377f633c1aaa60f35 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 5 Apr 2021 12:06:14 +0200 Subject: [PATCH] changes: remove unused code --- cmd/safcm/sync_changes.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/safcm/sync_changes.go b/cmd/safcm/sync_changes.go index 4634911..7ef0541 100644 --- a/cmd/safcm/sync_changes.go +++ b/cmd/safcm/sync_changes.go @@ -226,10 +226,6 @@ func (s *Sync) formatDiff(diff string) string { } func indentBlock(x string, sep string) string { - if x == "" { - return "" - } - lines := strings.Split(x, "\n") if lines[len(lines)-1] == "" { lines = lines[:len(lines)-1] -- 2.45.2