Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
f591591a
Commit
f591591a
authored
Oct 20, 2009
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove superfluous tracing support
R=rsc DELTA=5 (0 added, 4 deleted, 1 changed) OCL=35930 CL=35930
parent
357b770d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
gofmt.go
src/cmd/gofmt/gofmt.go
+1
-5
No files found.
src/cmd/gofmt/gofmt.go
View file @
f591591a
...
...
@@ -25,7 +25,7 @@ var (
// debugging support
comments
=
flag
.
Bool
(
"comments"
,
true
,
"print comments"
);
trace
=
flag
.
Bool
(
"trace"
,
false
,
"print
names of processed files to stderr and parse traces to stdout
"
);
trace
=
flag
.
Bool
(
"trace"
,
false
,
"print
parse trace
"
);
// layout control
align
=
flag
.
Bool
(
"align"
,
true
,
"align columns"
);
...
...
@@ -80,10 +80,6 @@ func isGoFile(d *os.Dir) bool {
func
processFile
(
filename
string
)
os
.
Error
{
if
*
trace
{
fmt
.
Fprintln
(
os
.
Stderr
,
filename
);
}
src
,
err
:=
io
.
ReadFile
(
filename
);
if
err
!=
nil
{
return
err
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment