Просмотр исходного кода

Remove a line of unreachable code.

Was identical to the "else" immediately above it.
David Fifield 5 лет назад
Родитель
Сommit
12098e15ca
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      dns/dns.go

+ 0 - 1
dns/dns.go

@@ -101,7 +101,6 @@ func ParseName(s string) (Name, error) {
 	} else {
 	} else {
 		return NewName(bytes.Split(b, []byte(".")))
 		return NewName(bytes.Split(b, []byte(".")))
 	}
 	}
-	return NewName(bytes.Split(b, []byte(".")))
 }
 }
 
 
 // String returns a string representation of name, with labels separated by
 // String returns a string representation of name, with labels separated by