mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-26 14:04:15 +03:00
Remove dead store in lvm_run_command
Variable 'ret' is not read before its next assignment.
This commit is contained in:
parent
8392d2853e
commit
9bc24aea56
@ -1064,8 +1064,8 @@ int lvm_run_command(struct cmd_context *cmd, int argc, char **argv)
|
||||
set_cmd_name(cmd->command->name);
|
||||
|
||||
if (arg_count(cmd, config_ARG))
|
||||
if ((ret = override_config_tree_from_string(cmd,
|
||||
arg_str_value(cmd, config_ARG, "")))) {
|
||||
if (override_config_tree_from_string(cmd,
|
||||
arg_str_value(cmd, config_ARG, ""))) {
|
||||
ret = EINVALID_CMD_LINE;
|
||||
goto_out;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user