From 2fae692be935c6dc005291afe5b07cfa87dd82f6 Mon Sep 17 00:00:00 2001 From: Chris Aubuchon Date: Wed, 10 Feb 2016 15:17:32 -0600 Subject: [PATCH] Remove unreachable returns --- commands/kv_read.go | 2 -- commands/output.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/commands/kv_read.go b/commands/kv_read.go index 75e710c..4491f63 100644 --- a/commands/kv_read.go +++ b/commands/kv_read.go @@ -104,6 +104,4 @@ func (k *Kv) Read(args []string, kro *KvReadOptions) error { return kvo.Output(kv, kro.Format) } } - - return nil } diff --git a/commands/output.go b/commands/output.go index 4fee856..fc3f474 100644 --- a/commands/output.go +++ b/commands/output.go @@ -14,8 +14,6 @@ func (c *Cmd) Output(v interface{}) error { } else { return c.OutputTemplate(v) } - - return nil } func (c *Cmd) OutputJSON(v interface{}, prettyFlag bool) error {