Browse Source

remove unused variable

Darien Raymond 8 years ago
parent
commit
38e4cad8d1
1 changed files with 0 additions and 4 deletions
  1. 0 4
      transport/internet/kcp/connection.go

+ 0 - 4
transport/internet/kcp/connection.go

@@ -39,10 +39,6 @@ const (
 	StateTerminated      State = 5
 	StateTerminated      State = 5
 )
 )
 
 
-const (
-	headerSize uint32 = 2
-)
-
 func nowMillisec() int64 {
 func nowMillisec() int64 {
 	now := time.Now()
 	now := time.Now()
 	return now.Unix()*1000 + int64(now.Nanosecond()/1000000)
 	return now.Unix()*1000 + int64(now.Nanosecond()/1000000)