From 75b8ca22865b39326d190287e3fba668f2bc9c69 Mon Sep 17 00:00:00 2001 From: des Date: Mon, 5 Jul 2004 11:10:57 +0000 Subject: Make libalias WARNS?=6-clean. This mostly involves renaming variables named link, foo_link or link_foo to lnk, foo_lnk or lnk_foo, fixing signed / unsigned comparisons, and shoving unused function arguments under the carpet. I was hoping WARNS?=6 might reveal more serious problems, and perhaps the source of the -O2 breakage, but found no smoking gun. --- lib/libalias/alias_util.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libalias/alias_util.c') diff --git a/lib/libalias/alias_util.c b/lib/libalias/alias_util.c index 574d4ed..14df53d 100644 --- a/lib/libalias/alias_util.c +++ b/lib/libalias/alias_util.c @@ -65,6 +65,8 @@ LibAliasInternetChecksum(struct libalias *la, u_short * ptr, int nbytes) { int sum, oddbyte; + (void)la; + sum = 0; while (nbytes > 1) { sum += *ptr++; -- cgit v1.1