From a5d006d515a84009da01993cb49e2259d3b57a33 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 5 Jan 2011 12:27:56 +0000 Subject: [PATCH] Remove unused variable mirr_state and its assignment --- lib/mirror/mirrored.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/mirror/mirrored.c b/lib/mirror/mirrored.c index 3d25d7092..0bf3b3b0f 100644 --- a/lib/mirror/mirrored.c +++ b/lib/mirror/mirrored.c @@ -184,7 +184,6 @@ static int _mirrored_target_percent(void **target_state, uint64_t *total_numerator, uint64_t *total_denominator) { - struct mirror_state *mirr_state; uint64_t numerator, denominator; unsigned mirror_count, m; int used; @@ -193,8 +192,6 @@ static int _mirrored_target_percent(void **target_state, if (!*target_state) *target_state = _mirrored_init_target(mem, cmd); - mirr_state = *target_state; - /* Status line: <#mirrors> (maj:min)+ / */ log_debug("Mirror status: %s", params);