Skip to content

Commit

Permalink
Remove unnecessary return statements
Browse files Browse the repository at this point in the history
  • Loading branch information
joyrex2001 committed Apr 18, 2019
1 parent ebd6838 commit 82c60ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions internal/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ func addScanners(agent agent.Agent, cfg *config.Config) {
}
}
}
return
}

// addScanner will add a scanner specified with the scanner.Config object to
Expand All @@ -102,7 +101,6 @@ func addScanner(agent agent.Agent, cfg scanner.Config) {
return
}
agent.AddScanner(scanr)
return
}

// startWebUI will start the management webserver.
Expand Down
1 change: 0 additions & 1 deletion internal/webui/backend/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ func (f *handler) Authenticate(okhandler httprouter.Handle) httprouter.Handle {
return
}
okhandler(w, r, ps)
return
}
}

Expand Down

0 comments on commit 82c60ed

Please sign in to comment.