From 28868515f6cb8ec3a78773391945ac89d555d65d Mon Sep 17 00:00:00 2001 From: Shane Kerr Date: Fri, 13 Jul 2007 06:43:43 +0000 Subject: Code cleanup to remove warnings from "gcc -Wall". See RT ticket #16988 for more. --- omapip/trace.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'omapip/trace.c') diff --git a/omapip/trace.c b/omapip/trace.c index 836faf9a..97e1bcf3 100644 --- a/omapip/trace.c +++ b/omapip/trace.c @@ -32,11 +32,6 @@ * learn more about Nominum, Inc., see ``http://www.nominum.com''. */ -#ifndef lint -static char ocopyright[] = -"$Id: trace.c,v 1.15 2007/05/19 19:16:26 dhankins Exp $ Copyright 2004-2007 Internet Systems Consortium."; -#endif - #include "dhcpd.h" #include #include @@ -321,7 +316,7 @@ trace_type_t *trace_type_register (const char *name, void (*stop_tracing) (trace_type_t *), const char *file, int line) { - trace_type_t *ttmp, *tptr; + trace_type_t *ttmp; unsigned slen = strlen (name); isc_result_t status; @@ -520,7 +515,6 @@ isc_result_t trace_get_next_packet (trace_type_t **ttp, trace_type_t *ttype; unsigned paylen; int status; - int len; fpos_t curpos; status = fgetpos (traceinfile, &curpos); @@ -646,7 +640,6 @@ time_t trace_snoop_time (trace_type_t **ptp) unsigned bufmax = 0; unsigned buflen = 0; char *buf = (char *)0; - isc_result_t status; time_t result; trace_type_t *ttp; -- cgit v1.2.1