From 7770ce5c15dff99c1100f9fe6e41c502a94cd713 Mon Sep 17 00:00:00 2001 From: Bryan McNulty Date: Sat, 26 Apr 2025 05:18:48 -0500 Subject: Fixed some more linter issues --- pkg/goexec/dce/client.go | 3 +-- pkg/goexec/tsch/tsch.go | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'pkg') diff --git a/pkg/goexec/dce/client.go b/pkg/goexec/dce/client.go index 0918933..567d619 100644 --- a/pkg/goexec/dce/client.go +++ b/pkg/goexec/dce/client.go @@ -13,8 +13,7 @@ import ( type Client struct { Options - conn dcerpc.Conn - hostname string + conn dcerpc.Conn } func (c *Client) String() string { diff --git a/pkg/goexec/tsch/tsch.go b/pkg/goexec/tsch/tsch.go index ae65ca7..3cbcb2c 100644 --- a/pkg/goexec/tsch/tsch.go +++ b/pkg/goexec/tsch/tsch.go @@ -92,6 +92,8 @@ type simpleTask struct { Settings taskSettings `xml:"Settings"` } +/* + // newSettings just creates a taskSettings instance with the necessary values + a few dynamic ones func newSettings(terminate, onDemand, startWhenAvailable bool) *taskSettings { return &taskSettings{ @@ -140,6 +142,7 @@ func newTask(se *taskSettings, pr []taskPrincipal, tr taskTriggers, cmd, args st }, } } +*/ // xmlDuration is a *very* simple implementation of xs:duration - only accepts +seconds func xmlDuration(dur time.Duration) string { -- cgit v1.2.3