fix "declared and not used" errors in non-test code.

R=r
DELTA=112  (6 added, 57 deleted, 49 changed)
OCL=34610
CL=34610
This commit is contained in:
Russ Cox 2009-09-14 17:20:29 -07:00
parent b198b994a1
commit 28eba4877b
35 changed files with 35 additions and 73 deletions

View file

@ -116,7 +116,6 @@ func tRunner(t *T, test *Test) {
// of gotest.
func Main(tests []Test) {
flag.Parse();
args := flag.Args();
ok := true;
if len(tests) == 0 {
println("testing: warning: no tests to run");