From 7da231534bee8ed6de7a488ba83818bf9a0d4c10 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 20 Jul 2019 06:52:26 +0200 Subject: [PATCH] Remove unused ptrSize Can't see where it would still be used. --- spew/bypass.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/spew/bypass.go b/spew/bypass.go index 7929947..b70a1cc 100644 --- a/spew/bypass.go +++ b/spew/bypass.go @@ -31,9 +31,6 @@ const ( // UnsafeDisabled is a build-time constant which specifies whether or // not access to the unsafe package is available. UnsafeDisabled = false - - // ptrSize is the size of a pointer on the current arch. - ptrSize = unsafe.Sizeof((*byte)(nil)) ) type flag uintptr