mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 03:55:54 +00:00
parent
853b097922
commit
d60a2b4ebb
1 changed files with 0 additions and 2 deletions
|
@ -33,8 +33,6 @@ type SqlStrConcat struct {
|
|||
// see if we can figure out what it is
|
||||
func (s *SqlStrConcat) checkObject(n *ast.Ident) bool {
|
||||
if n.Obj != nil {
|
||||
// TODO(gm): Revisit logic used here.
|
||||
//return (n.Obj.Kind != ast.Var || n.Obj.Kind != ast.Fun)
|
||||
return n.Obj.Kind != ast.Var && n.Obj.Kind != ast.Fun
|
||||
}
|
||||
return false
|
||||
|
|
Loading…
Reference in a new issue