]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/log.go
Remove unused #nosec-s
[nncp.git] / src / log.go
index 9a8d2e7505b7fc4b5eecdeb77d4d2b49dbab12dd..78f9acc8e99083740f9fbfdf0ccc234f474b07e5 100644 (file)
@@ -98,8 +98,8 @@ func (ctx *Ctx) Log(rec string) {
                fmt.Fprintln(os.Stderr, "Can not open log:", err)
                return
        }
-       fd.WriteString(rec) // #nosec G104
-       fd.Close()          // #nosec G104
+       fd.WriteString(rec)
+       fd.Close()
 }
 
 func (ctx *Ctx) LogD(who string, les LEs, msg func(LEs) string) {