Omit redundant control flow

This commit is contained in:
deepsource-autofix[bot]
2021-05-01 19:31:32 +00:00
committed by GitHub
parent c9829910f2
commit fd0223f2ea
2 changed files with 3 additions and 4 deletions

View File

@@ -211,5 +211,5 @@ func streamNoAuth(c *gin.Context) {
}
c.Header("WWW-Authenticate", "Basic realm=Authorization Required")
c.AbortWithStatus(http.StatusUnauthorized)
return
}