Rob Figueiredo 12 years ago
parent
commit
921772d06d
1 changed files with 0 additions and 1 deletions
  1. 0 1
      revel/src/benchmark/app/controllers/app.go

+ 0 - 1
revel/src/benchmark/app/controllers/app.go

@@ -91,7 +91,6 @@ func (c App) Db(queries int) revel.Result {
 
 func (c App) Update(queries int) revel.Result {
 	if queries <= 1 {
-		rowNum := rand.Intn(WorldRowCount) + 1
 		var w World
 		worldStatement.QueryRow(rand.Intn(WorldRowCount)+1).Scan(&w.Id, &w.RandomNumber)
 		w.RandomNumber = uint16(rand.Intn(WorldRowCount) + 1)