summaryrefslogtreecommitdiff
path: root/test/bench/regex-dna.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/bench/regex-dna.go')
-rw-r--r--test/bench/regex-dna.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/bench/regex-dna.go b/test/bench/regex-dna.go
index ee4ddfd50..637cb1454 100644
--- a/test/bench/regex-dna.go
+++ b/test/bench/regex-dna.go
@@ -85,7 +85,6 @@ var substs = [] Subst {
func countMatches(pat string, bytes []byte) int {
re := compile(pat);
n := 0;
- pos := 0;
for {
e := re.Execute(bytes);
if len(e) == 0 {