delve/pkg
Eng Zer Jun 382bb0fde6
pkg/proc/internal/ebpf: remove redundant nil check (#3502)
From the Go specification:

  "1. For a nil slice, the number of iterations is 0." [1]

Therefore, an additional nil check for before the loop is unnecessary.

[1]: https://go.dev/ref/spec#For_range

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-09-18 08:01:52 -07:00
..
astutil proc: when stepping set condition on thread ID if there is no curg (#3475) 2023-08-21 12:30:56 -07:00
config trace: add timestamp to the output (#3358) 2023-05-08 10:41:47 -07:00
dwarf DWARF CFI: use a stack for restore/remember opcodes (#3480) 2023-08-23 12:56:58 -07:00
elfwriter terminal,service,proc/*: adds dump command (gcore equivalent) (#2173) 2021-01-29 13:39:33 -08:00
gobuild gobuild: pass user specified -C argument first (#3456) 2023-08-14 15:37:57 -07:00
goversion goversion: parse new version format and simplify version representation (#3470) 2023-08-16 09:55:02 -07:00
locspec locspec: fix SubstitutePath when converting a Windows path to Linux (#3453) 2023-08-14 15:34:29 -07:00
logflags logflags: simplify Logger interface (#3274) 2023-08-07 13:55:45 -07:00
proc pkg/proc/internal/ebpf: remove redundant nil check (#3502) 2023-09-18 08:01:52 -07:00
terminal pkg,service: fix typos in comments, exceptions, tests (#3486) 2023-08-29 14:44:18 +02:00
version all: Bump to v1.21.0 (#3428) 2023-06-27 09:04:52 -07:00