[patch 02/11] unused variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This fixes an unused variable.

In file included from libstats_test.c:1:
../include/libstats.h:161: warning: unused variable 'x'

Signed-off-by: Robert Schwebel <r.schwebel@xxxxxxxxxxxxxx>

 include/libstats.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: include/libstats.h
===================================================================
--- include/libstats.h.orig
+++ include/libstats.h
@@ -158,7 +158,7 @@ int stats_hist(stats_container_t *hist, 
 	int i;
 	int ret;
 	long min, max, width;
-	long x, y, b;
+	long /* x, */ y, b;
 	
 	ret = 0;
 
@@ -199,7 +199,7 @@ int stats_hist(stats_container_t *hist, 
 
 void stats_hist_print(stats_container_t *hist)
 {
-	long i, x, x1;
+	long i, x /* , x1 */;
 	for (i = 0; i < hist->size; i++) {
 		x = hist->records[i].x;
 		if (i < hist->size-1)

--
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux