]> Cypherpunks repositories - gostls13.git/commitdiff
fix build
authorRob Pike <r@golang.org>
Fri, 20 Nov 2009 19:26:40 +0000 (11:26 -0800)
committerRob Pike <r@golang.org>
Fri, 20 Nov 2009 19:26:40 +0000 (11:26 -0800)
R=rsc
https://golang.org/cl/159044

src/pkg/regexp/regexp.go

index 0b1d97d136accf324e31fcb12bc12861165792d0..30043fcb9ad5bcf9a7266bba2326f285059fc2d3 100644 (file)
@@ -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++ {