From b9ba337aae3fd62f89a23c2098dec6dfe0d1f9f1 Mon Sep 17 00:00:00 2001 From: Caleb Spare Date: Fri, 8 Dec 2017 02:11:05 -0800 Subject: [PATCH] strings: delete unused constant Change-Id: I235c5bc7ce598047eccc1518984dd27f568046a2 Reviewed-on: https://go-review.googlesource.com/82776 Run-TryBot: Caleb Spare TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- src/strings/builder.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/strings/builder.go b/src/strings/builder.go index 594f3db513..09ebb3d91b 100644 --- a/src/strings/builder.go +++ b/src/strings/builder.go @@ -28,8 +28,6 @@ func (b *Builder) Len() int { return len(b.buf) } // Reset resets the Builder to be empty. func (b *Builder) Reset() { b.buf = nil } -const maxInt = int(^uint(0) >> 1) - // grow copies the buffer to a new, larger buffer so that there are at least n // bytes of capacity beyond len(b.buf). func (b *Builder) grow(n int) {