1
0
mirror of https://github.com/securego/gosec.git synced 2025-11-23 22:15:04 +02:00

Fix some linting warnings

This commit is contained in:
Cosmin Cojocar
2023-03-20 10:08:49 +01:00
committed by Cosmin Cojocar
parent 83fc5e63fa
commit 6a73248135
26 changed files with 58 additions and 60 deletions

View File

@@ -182,7 +182,7 @@ func GetCallInfo(n ast.Node, ctx *Context) (string, string, error) {
}
// GetCallStringArgsValues returns the values of strings arguments if they can be resolved
func GetCallStringArgsValues(n ast.Node, ctx *Context) []string {
func GetCallStringArgsValues(n ast.Node, _ *Context) []string {
values := []string{}
switch node := n.(type) {
case *ast.CallExpr: