mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
b198b994a1
commit
28eba4877b
35 changed files with 35 additions and 73 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue