diff options
| author | Russ Cox <rsc@golang.org> | 2010-05-03 17:47:40 -0700 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2010-05-03 17:47:40 -0700 |
| commit | 7d7ebd2fe1ff7bc081accbadac1d80c5b6352624 (patch) | |
| tree | c13c0a6c79b7f554c037774ab1d60beda13a1405 /src/pkg/runtime | |
| parent | a9425c70aa85872371651a38209ef9db6acb8e35 (diff) | |
| download | go-7d7ebd2fe1ff7bc081accbadac1d80c5b6352624.tar.xz | |
runtime, strconv: tiny cleanups
R=r
CC=golang-dev
https://golang.org/cl/1081042
Diffstat (limited to 'src/pkg/runtime')
| -rw-r--r-- | src/pkg/runtime/slice.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |
