]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
util: remove redundant NULL check in argconfig_print_help()
authorCaleb Sander Mateos <csander@purestorage.com>
Tue, 16 Jul 2024 16:05:41 +0000 (10:05 -0600)
committerDaniel Wagner <wagi@monom.org>
Wed, 17 Jul 2024 14:57:45 +0000 (16:57 +0200)
commit6f691a92f20beaf4fc6f4f8a36d598db6e053fc8
treec2e3956b5ef26cb319843bb6685d231710403166
parentba72357b9284736637cf04ca9be1616a3b34ff39
util: remove redundant NULL check in argconfig_print_help()

s has been checked to be non-NULL earlier,
so there is no need to check it in the loop.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
util/argconfig.c