Commit d64ef664 authored by Eric Sunshine's avatar Eric Sunshine

make "golint"-clean

parent 5f7a4b51
......@@ -5,6 +5,7 @@
sed -e \
"/if block ends with a return statement, so drop this else and outdent its block/d" \
-e "/exported const .* should have comment or be unexported/d" \
-e "/exported type .* should have comment or be unexported/d" \
-e "/exported method .* should have comment or be unexported/d" \
-e "/exported function .* should have comment or be unexported/d" \
......
......@@ -6098,7 +6098,7 @@ func (sp *StreamParser) parseSubversion(options stringSet, baton *Baton, filesiz
}
}
maxrev := 0
for rev, _ := range revisions {
for rev := range revisions {
if rev > maxrev {
maxrev = rev
}
......@@ -6106,7 +6106,7 @@ func (sp *StreamParser) parseSubversion(options stringSet, baton *Baton, filesiz
sp.revisions = make([]RevisionRecord, maxrev)
for maxrev >= 1 {
sp.revisions[maxrev-1] = revisions[maxrev]
maxrev -= 1
maxrev--
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment