summaryrefslogtreecommitdiff
path: root/src/pkg/regexp
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-11-20 11:26:40 -0800
committerRob Pike <r@golang.org>2009-11-20 11:26:40 -0800
commita355a418e17bfd1b164484b159017776da9351f9 (patch)
tree46dd3c2f8086be9e6b690758485d40b0fa8afef0 /src/pkg/regexp
parent55562d1cd2338bfddfa5c2af88971d928696a729 (diff)
downloadgolang-a355a418e17bfd1b164484b159017776da9351f9.tar.gz
fix build
R=rsc http://codereview.appspot.com/159044
Diffstat (limited to 'src/pkg/regexp')
-rw-r--r--src/pkg/regexp/regexp.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pkg/regexp/regexp.go b/src/pkg/regexp/regexp.go
index 0b1d97d13..30043fcb9 100644
--- a/src/pkg/regexp/regexp.go
+++ b/src/pkg/regexp/regexp.go
@@ -763,7 +763,6 @@ func (a *matchArena) addState(s []state, inst instr, match *matchVec, pos, end i
}
index := inst.index();
l := len(s);
- begin := match.m[0];
// States are inserted in order so it's sufficient to see if we have the same
// instruction; no need to see if existing match is earlier (it is).
for i := 0; i < l; i++ {