1
0
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:
Bryn M. Reeves 2015-08-17 18:28:32 +01:00
parent 8967776713
commit b01e9651b0

View File

@ -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;