From dc64be90b52ebfad6ab26d217f7360531d99ebf6 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Mon, 4 Aug 2014 14:40:52 +0200 Subject: [PATCH] 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 --- examples/domtop/domtop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;