summaryrefslogtreecommitdiff
path: root/src/pkg/encoding/gob/type.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/encoding/gob/type.go')
-rw-r--r--src/pkg/encoding/gob/type.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pkg/encoding/gob/type.go b/src/pkg/encoding/gob/type.go
index ea0db4eac..7fa0b499f 100644
--- a/src/pkg/encoding/gob/type.go
+++ b/src/pkg/encoding/gob/type.go
@@ -526,7 +526,6 @@ func newTypeObject(name string, ut *userTypeInfo, rt reflect.Type) (gobType, err
default:
return nil, errors.New("gob NewTypeObject can't handle type: " + rt.String())
}
- return nil, nil
}
// isExported reports whether this is an exported - upper case - name.