From dc0ecf712d9a20034a9cf6ae2478147e23c29686 Mon Sep 17 00:00:00 2001 From: Saxon Date: Sun, 12 May 2019 01:57:38 +0930 Subject: [PATCH] fixed config outputs defaulting bug --- cmd/revid-cli/main.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index 39872022..fc90dbcc 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -193,10 +193,6 @@ func handleFlags() revid.Config { log.Log(logger.Error, pkg+"bad input codec argument") } - if len(outputs) == 0 { - cfg.Outputs = make([]uint8, 1) - } - for _, o := range outputs { switch o { case "File":