1
0
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:
Zdenek Kabelac 2010-12-20 13:59:52 +00:00
parent 8392d2853e
commit 9bc24aea56

View File

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