Skip to content

Commit

Permalink
tests: cmd: draid: remove unused and undocumented -v
Browse files Browse the repository at this point in the history
Found with -Wunused-but-set-variable on Clang trunk

Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes openzfs#13304
(cherry picked from commit 63cb341)
  • Loading branch information
nabijaczleweli authored and damian.szuberski committed Dec 7, 2022
1 parent 21bd766 commit 4c7e231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/zfs-tests/cmd/draid/draid.c
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ draid_merge_impl(nvlist_t *allcfgs, const char *srcfilename, int *mergedp)
static int
draid_merge(int argc, char *argv[])
{
char filename[MAXPATHLEN];
char filename[MAXPATHLEN] = {0};
int c, error, total_merged = 0;
nvlist_t *allcfgs;

Expand Down

0 comments on commit 4c7e231

Please sign in to comment.