From: Michal Privoznik Date: Mon, 4 Aug 2014 12:40:52 +0000 (+0200) Subject: domtop: Remove unused variable X-Git-Tag: v1.2.8-rc1~243 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc64be90b52ebfad6ab26d217f7360531d99ebf6;p=thirdparty%2Flibvirt.git domtop: Remove unused variable The variable 'k' in the print_cpu_usage function is not used anywhere and can fire a warning on some compilers. Signed-off-by: Michal Privoznik --- diff --git a/examples/domtop/domtop.c b/examples/domtop/domtop.c index 204fdc328d..e50988ed27 100644 --- a/examples/domtop/domtop.c +++ b/examples/domtop/domtop.c @@ -199,7 +199,7 @@ print_cpu_usage(const char *dom_name, virTypedParameterPtr now_params, size_t now_nparams) { - size_t i, j, k; + size_t i, j; size_t nparams = now_nparams; bool delim = false;