*: fix naked returns

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyu-Ho Lee
2017-11-10 18:28:57 -08:00
parent 65a606e2e8
commit 75110dd839
21 changed files with 35 additions and 36 deletions

View File

@@ -246,5 +246,5 @@ func parsePREFSRC(m *syscall.NetlinkMessage) (host string, oif uint32, err error
if oif == 0 {
err = errNoDefaultRoute
}
return
return host, oif, err
}