From a8cc07b564a1bcad011bb8e3518c7e70d7562e65 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 29 Nov 2010 11:14:33 +0000 Subject: [PATCH] Remove dead assignment in lvm2_main 'alias' is not read again in this code path. Also 'alias' is already equal to 0 in this place. --- tools/lvmcmdline.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c index 192531d3a..49a460dee 100644 --- a/tools/lvmcmdline.c +++ b/tools/lvmcmdline.c @@ -1442,7 +1442,6 @@ int lvm2_main(int argc, char **argv) if (!alias) { argv++; argc--; - alias = 0; } if (!argc) { log_error("Falling back to LVM1 tools, but no "