avoid uninitialised var use when scsi_get_link() returns NULL
authorjsg <jsg@openbsd.org>
Tue, 28 May 2024 00:24:44 +0000 (00:24 +0000)
committerjsg <jsg@openbsd.org>
Tue, 28 May 2024 00:24:44 +0000 (00:24 +0000)
commit9a0b8a7eed13bc7f82c216776a74a93294d526c2
tree65e254e68427372674d7831d48291a26babb8c4a
parent4692ea2bd2d8a58f25477a2d0bf9582c73bd1ee0
avoid uninitialised var use when scsi_get_link() returns NULL
found by smatch, ok krw@
sys/dev/ic/nvme.c