Skip to content

Commit 7250989

Browse files
ikegami-tigaw
authored andcommitted
examples: fix mi-mctp build warning errors
Initialize net and eid variables to 0. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent 4846625 commit 7250989

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/mi-mctp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,8 +677,8 @@ int main(int argc, char **argv)
677677
nvme_root_t root;
678678
nvme_mi_ep_t ep;
679679
bool dbus = false, usage = true;
680-
uint8_t eid;
681-
int rc = 0, net;
680+
uint8_t eid = 0;
681+
int rc = 0, net = 0;
682682

683683
if (argc >= 2 && strcmp(argv[1], "dbus") == 0) {
684684
usage = false;

0 commit comments

Comments
 (0)