[Nut-upsdev] [PATCH] tripplite driver updates

Nicholas Kain njk at kain.us
Fri Jul 11 15:38:54 UTC 2008


One minor unused variable warning fix I noticed:

diff -purN nut-2.2.2-nk2/drivers/tripplite.c nut-2.2.2-nk/drivers/tripplite.c
--- nut-2.2.2-nk2/drivers/tripplite.c	2008-07-11 10:22:24.000000000 -0400
+++ nut-2.2.2-nk/drivers/tripplite.c	2008-07-11 11:36:01.000000000 -0400
@@ -119,7 +119,6 @@ static unsigned int bootdelay = DEFAULT_
 static int hex2d(char *start, unsigned int len)
 {
 	char buf[32];
-	unsigned int i;
 
 	snprintf(buf, sizeof buf, "%.*s", len, start);
 	return strtol(buf, NULL, 16);

-- 
Nicholas J. Kain <nicholas at kain dot us>
http://www.kain.us/~niklata/



More information about the Nut-upsdev mailing list