Skip to content

Commit

Permalink
Merge pull request #601 from mfielding/static
Browse files Browse the repository at this point in the history
Implement golang static analyzer findings
  • Loading branch information
sijms authored Oct 7, 2024
2 parents 8e3e994 + 0d85557 commit 40067b5
Show file tree
Hide file tree
Showing 13 changed files with 1,573 additions and 1,569 deletions.
6 changes: 3 additions & 3 deletions v2/advanced_nego/comm.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ type AdvancedNegoComm struct {
session *network.Session
}

//func newComm(session *network.Session) *AdvancedNegoComm {
// return &AdvancedNegoComm{session: session}
//}
// func newComm(session *network.Session) *AdvancedNegoComm {
// return &AdvancedNegoComm{session: session}
// }

func (comm *AdvancedNegoComm) writePacketHeader(length, _type int) {
comm.session.PutInt(length, 2, true, false)
Expand Down
Loading

0 comments on commit 40067b5

Please sign in to comment.