mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
dmsetup: make sure subcommand is initialised (Coverity)
This commit is contained in:
parent
8967776713
commit
b01e9651b0
@ -5964,7 +5964,8 @@ unknown:
|
||||
if (cmd->has_subcommands) {
|
||||
subcommand = argv[0];
|
||||
argc--, argv++;
|
||||
}
|
||||
} else
|
||||
subcommand = (char *) "";
|
||||
|
||||
if (_switches[COLS_ARG] && !_report_init(cmd, subcommand))
|
||||
goto out;
|
||||
|
Loading…
Reference in New Issue
Block a user