diff --git a/refactor/rename/rename.go b/refactor/rename/rename.go index 526ee1e58b..be47701331 100644 --- a/refactor/rename/rename.go +++ b/refactor/rename/rename.go @@ -157,7 +157,7 @@ var ( Verbose bool ) -var stdout io.Writer +var stdout io.Writer = os.Stdout type renamer struct { iprog *loader.Program diff --git a/refactor/rename/rename14.go b/refactor/rename/rename14.go index 1d95b7695c..e4ccc061ab 100644 --- a/refactor/rename/rename14.go +++ b/refactor/rename/rename14.go @@ -157,7 +157,7 @@ var ( Verbose bool ) -var stdout io.Writer +var stdout io.Writer = os.Stdout type renamer struct { iprog *loader.Program