Skip to content

Commit 54fc263

Browse files
committed
fixup: silence an uninitialized variable lint false positive
Signed-off-by: Alan Somers <[email protected]>
1 parent 072ab34 commit 54fc263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/zpool/zpool_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9528,7 +9528,7 @@ errors_nvlist(zpool_handle_t *zhp, status_cbdata_t *cb, nvlist_t *item)
95289528
int count = 0;
95299529
size_t len = MAXPATHLEN * 2;
95309530
nvpair_t *elem = NULL;
9531-
char **errl, *pathbuf = NULL;
9531+
char **errl = NULL, *pathbuf = NULL;
95329532
nvlist_t **errnvl;
95339533

95349534
for (nvpair_t *pair =

0 commit comments

Comments
 (0)