Remove a Go 1.4ism to allow compilation under Go 1.3.

This commit is contained in:
Jeff Younker 2015-01-09 14:49:17 +01:00
parent d7f000b100
commit 014d4bd173
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ func (r *registry) writePB(w io.Writer, writeEncoded encoder) (int, error) {
// Drain metricChan in case of premature return.
defer func() {
for range metricChan {
for _ = range metricChan {
}
}()