Skip to content

Commit

Permalink
Switch to defaulting of the type
Browse files Browse the repository at this point in the history
  • Loading branch information
unixsurfer committed Oct 18, 2023
1 parent 7e254ab commit aca5190
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions parser/bfd.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ func parseBFDSessionLine(c *bfdContext) {
return
}
var since_epoch int64
if m[5] == "" {
since_epoch = 0
} else {
if m[5] != "" {
since_epoch = parseInt(m[5])
}

Expand Down

0 comments on commit aca5190

Please sign in to comment.