This commit is contained in:
Robby Colvin 2013-06-17 16:36:22 -07:00
parent 75db279364
commit 148d95def5
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ func decodeConfig(r io.Reader, c *config) error {
// Returns an array of defined command names.
func (c *config) CommandNames() (result []string) {
result = make([]string, 0, len(c.Commands))
for name, _ := range c.Commands {
for name := range c.Commands {
result = append(result, name)
}
return