mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-24 17:57:48 +03:00
Remove dead store in lvm_run_command
Variable 'ret' is not read before its next assignment.
This commit is contained in:
parent
35ce2b332b
commit
5702dffbc3
@ -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