Skip to content

Commit a919a0f

Browse files
committed
removed unused functions
1 parent c6b96ed commit a919a0f

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

cmd/l0la/main.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,6 @@ func main() {
4545
}
4646
}
4747

48-
func parseSecs() (int, error) {
49-
if len(flag.Args()) != 1 {
50-
return 0, errors.New("pid not supplied")
51-
}
52-
pid, err := strconv.Atoi(flag.Args()[0])
53-
return pid, err
54-
}
55-
5648
func parsePid() (int, error) {
5749
if len(flag.Args()) != 1 {
5850
return 0, errors.New("pid not supplied")

l0la_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ import (
66
)
77

88
func TestWatch(t *testing.T) {
9+
//Watch(os.Getpid(), 4)
910
Watch(os.Getpid(), 4)
1011
}

0 commit comments

Comments
 (0)