From 7d7ebd2fe1ff7bc081accbadac1d80c5b6352624 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 3 May 2010 17:47:40 -0700 Subject: runtime, strconv: tiny cleanups R=r CC=golang-dev https://golang.org/cl/1081042 --- src/pkg/runtime/slice.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/pkg/runtime/slice.c') diff --git a/src/pkg/runtime/slice.c b/src/pkg/runtime/slice.c index d967b1669b..4162b8daa2 100644 --- a/src/pkg/runtime/slice.c +++ b/src/pkg/runtime/slice.c @@ -186,9 +186,7 @@ void void ·slicecopy(Slice to, Slice fm, uintptr width, int32 ret) { - if(fm.array == nil || fm.len == 0 || - to.array == nil || to.len == 0 || - width == 0) { + if(fm.len == 0 || to.len == 0 || width == 0) { ret = 0; goto out; } -- cgit v1.3-5-g9baa