summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarian Csontos <mcsontos@redhat.com>2012-09-20 07:40:11 +0200
committerMarian Csontos <mcsontos@redhat.com>2012-09-20 07:40:11 +0200
commit17901569da5294322dcb09fd9b66531adabdf95d (patch)
tree3ebc2d4cd3c5778cabe926928548a3c17cd76294
parent9d0dc63c8bcf255eb48a236824b6e8a58026f305 (diff)
downloadlvm2-17901569da5294322dcb09fd9b66531adabdf95d.tar.gz
lvm2-17901569da5294322dcb09fd9b66531adabdf95d.tar.xz
lvm2-17901569da5294322dcb09fd9b66531adabdf95d.zip
cleanup: remove unused variable
-rw-r--r--tools/lvchange.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/lvchange.c b/tools/lvchange.c
index 5048cab7..d1cb4cff 100644
--- a/tools/lvchange.c
+++ b/tools/lvchange.c
@@ -292,7 +292,6 @@ static int detach_metadata_devices(struct lv_segment *seg, struct dm_list *list)
static int attach_metadata_devices(struct lv_segment *seg, struct dm_list *list)
{
- uint32_t s = 0;
struct cmd_context *cmd = seg->lv->vg->cmd;
struct lv_list *lvl, *tmp;