diff options
author | Tomek Mrugalski <tomek@isc.org> | 2012-03-09 11:18:14 +0000 |
---|---|---|
committer | Tomek Mrugalski <tomek@isc.org> | 2012-03-09 11:18:14 +0000 |
commit | dd9237c309ac816268ec395f0d65a18a38a9aa2a (patch) | |
tree | f79ad87307715109fdf0886a70b2c4c5c50a7983 /common/print.c | |
parent | 9a266235e6813d2565dc48949b222ba8e08078cb (diff) | |
download | isc-dhcp-dd9237c309ac816268ec395f0d65a18a38a9aa2a.tar.gz |
Fixed many compilation problems ("set, but not used" warnings) for
gcc 4.6 that may affect Ubuntu 11.10 users. [ISC-Bugs #27588]
Diffstat (limited to 'common/print.c')
-rw-r--r-- | common/print.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/common/print.c b/common/print.c index e8eac799..d5d0ae07 100644 --- a/common/print.c +++ b/common/print.c @@ -3,7 +3,7 @@ Turn data structures into printable text. */ /* - * Copyright (c) 2009-2011 by Internet Systems Consortium, Inc. ("ISC") + * Copyright (c) 2009-2012 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 2004-2007 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 1995-2003 by Internet Software Consortium * @@ -479,10 +479,9 @@ char *print_dotted_quads (len, data) { static char dq_buf [DQLEN + 1]; int i; - char *s, *last; + char *s; s = &dq_buf [0]; - last = s; i = 0; |