podman/cmd
Eng Zer Jun f094884c1b
Remove redundant nil checks in system connection remove
From the Go specification:

  "3. If the map is nil, the number of iterations is 0." [1]

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

[NO NEW TESTS NEEDED]

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

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-09-03 15:42:41 +08:00
..
podman Remove redundant nil checks in system connection remove 2023-09-03 15:42:41 +08:00
podman-mac-helper man pages and command help: clean up descriptions 2023-05-28 18:57:43 +02:00
podman-wslkerninst source code comments and docs: fix typos, language, Markdown layout 2023-05-22 07:52:16 +02:00
quadlet Codespell fixups 2023-07-31 09:38:46 -04:00
rootlessport use libnetwork/slirp4netns from c/common 2023-06-22 11:16:13 +02:00
winpath Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00