1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-11-13 23:22:57 +03:00

cleanup: skip assignment

env is reassigned without the use, so drop this assign.
This commit is contained in:
Zdenek Kabelac 2012-12-14 14:18:46 +01:00
parent 0396ade38b
commit 13835d04ac

View File

@ -87,7 +87,7 @@ void dm_lib_init(void)
{
const char *env;
if ((env = getenv("DM_DISABLE_UDEV")))
if (getenv("DM_DISABLE_UDEV"))
_udev_disabled = 1;
env = getenv(DM_DEFAULT_NAME_MANGLING_MODE_ENV_VAR_NAME);