aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/string.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-05-08 15:21:41 -0700
committerRuss Cox <rsc@golang.org>2009-05-08 15:21:41 -0700
commit918afd9491bd07aed10bc364012683fc52c734bb (patch)
tree5b8c80c41b4110b57cef1a0945350c2caf7557e2 /src/runtime/string.c
parentc367d1b789b0aed59e871aee588d776998a8f479 (diff)
downloadgo-918afd9491bd07aed10bc364012683fc52c734bb.tar.xz
move things out of sys into os and runtime
R=r OCL=28569 CL=28573
Diffstat (limited to 'src/runtime/string.c')
-rw-r--r--src/runtime/string.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/string.c b/src/runtime/string.c
index 667828d66e..5e4922a99f 100644
--- a/src/runtime/string.c
+++ b/src/runtime/string.c
@@ -215,8 +215,6 @@ out:
void
sys·stringiter2(String s, int32 k, int32 retk, int32 retv)
{
- int32 l;
-
if(k >= s.len) {
// retk=0 is end of iteration
retk = 0;