From 13835d04ac2a2c518ec935d220c7feb711327884 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 14 Dec 2012 14:18:46 +0100 Subject: [PATCH] cleanup: skip assignment env is reassigned without the use, so drop this assign. --- libdm/libdm-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdm/libdm-common.c b/libdm/libdm-common.c index 075fba835..4a0ada8f5 100644 --- a/libdm/libdm-common.c +++ b/libdm/libdm-common.c @@ -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);