From be075c7cfb276c64dbf80d51d73676e3a42f66e3 Mon Sep 17 00:00:00 2001 From: Aaron Son Date: Thu, 17 Mar 2022 09:30:00 -0700 Subject: [PATCH] store/datas/commit.go: Fix unreachable code. --- go/store/datas/commit.go | 1 - 1 file changed, 1 deletion(-) diff --git a/go/store/datas/commit.go b/go/store/datas/commit.go index 586b480d90..6dd62bbe1c 100644 --- a/go/store/datas/commit.go +++ b/go/store/datas/commit.go @@ -323,7 +323,6 @@ func GetCommitMeta(ctx context.Context, cv types.Value) (*CommitMeta, error) { } else { return nil, errors.New("GetCommitMeta: Commit had metadata field but it was not a Struct.") } - return nil, nil } func GetCommitValue(ctx context.Context, cv types.Value) (types.Value, error) {