1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-27 05:28:44 +02:00

Remove ineffectual assignments

This commit is contained in:
Alexandre Iooss
2020-10-14 21:33:51 +02:00
parent e53d5a02ab
commit c3629bdbb5
3 changed files with 6 additions and 3 deletions

View File

@ -26,7 +26,7 @@ type Backend interface {
// New initialize authentification backend
func New(cfg *Options) (Backend, error) {
var backend Backend = nil
var backend Backend
var err error
if !cfg.Enabled {