From 5b7fed151f768c50cfa958fa41198d3da90778c8 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 8 Jun 2011 12:22:21 +0200 Subject: [PATCH] cytune: remove unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit cytune.c: In function ‘summary’: cytune.c:105:9: warning: variable ‘j’ set but not used [-Wunused-but-set-variable] Signed-off-by: Karel Zak --- sys-utils/cytune.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys-utils/cytune.c b/sys-utils/cytune.c index 47b3729070..32d820aae2 100644 --- a/sys-utils/cytune.c +++ b/sys-utils/cytune.c @@ -98,11 +98,9 @@ static char ***global_argv; static void summary(int sig) { struct cyclades_control *cc; - int argc, local_optind; char **argv; - - int i,j; + int i; argc = global_argc; argv = *global_argv; @@ -110,7 +108,6 @@ summary(int sig) { if (sig > 0) { for(i = local_optind; i < argc; i ++) { - j = i - local_optind; cc = &cmon[cmon_index]; fprintf(stderr, _("File %s, For threshold value %lu, Maximum characters in fifo were %d,\nand the maximum transfer rate in characters/second was %f\n"), argv[i], -- 2.47.3