1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

cleanup: type cleanup

Fix return code 1.
Since we always check for !() - this fix has no other effect.
This commit is contained in:
Zdenek Kabelac 2016-06-24 00:35:03 +02:00
parent 7c921f18e2
commit 1c212371fa

View File

@ -1655,7 +1655,7 @@ int validate_restricted_lvname_param(struct cmd_context *cmd, const char **vg_na
if (lv_name && *lv_name && !apply_lvname_restrictions(*lv_name))
return_0;
return -1;
return 1;
}
/*