mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
cov: unused value
This commit is contained in:
parent
d95c0e977c
commit
74936f53f7
@ -2682,7 +2682,7 @@ out_rem:
|
|||||||
|
|
||||||
log_debug("S %s clearing locks", ls->name);
|
log_debug("S %s clearing locks", ls->name);
|
||||||
|
|
||||||
rv = clear_locks(ls, free_vg, drop_vg);
|
(void) clear_locks(ls, free_vg, drop_vg);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Tell any other hosts in the lockspace to leave it
|
* Tell any other hosts in the lockspace to leave it
|
||||||
|
@ -113,7 +113,7 @@ int vgimportdevices(struct cmd_context *cmd, int argc, char **argv)
|
|||||||
{
|
{
|
||||||
struct vgimportdevices_params vp = { 0 };
|
struct vgimportdevices_params vp = { 0 };
|
||||||
struct processing_handle *handle;
|
struct processing_handle *handle;
|
||||||
int ret = ECMD_PROCESSED;
|
int ret = ECMD_FAILED;
|
||||||
|
|
||||||
if (arg_is_set(cmd, foreign_ARG))
|
if (arg_is_set(cmd, foreign_ARG))
|
||||||
cmd->include_foreign_vgs = 1;
|
cmd->include_foreign_vgs = 1;
|
||||||
@ -152,7 +152,6 @@ int vgimportdevices(struct cmd_context *cmd, int argc, char **argv)
|
|||||||
|
|
||||||
if (!(handle = init_processing_handle(cmd, NULL))) {
|
if (!(handle = init_processing_handle(cmd, NULL))) {
|
||||||
log_error("Failed to initialize processing handle.");
|
log_error("Failed to initialize processing handle.");
|
||||||
ret = ECMD_FAILED;
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
handle->custom_handle = &vp;
|
handle->custom_handle = &vp;
|
||||||
|
Loading…
Reference in New Issue
Block a user