Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/bind/dist/bin/named silence gcc-3 uninitialized...
details: https://anonhg.NetBSD.org/src/rev/3acdcb49462c
branches: trunk
changeset: 759681:3acdcb49462c
user: christos <christos%NetBSD.org@localhost>
date: Tue Dec 14 23:18:31 2010 +0000
description:
silence gcc-3 uninitialized variable warning.
diffstat:
external/bsd/bind/dist/bin/named/server.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r cebf7d8d734e -r 3acdcb49462c external/bsd/bind/dist/bin/named/server.c
--- a/external/bsd/bind/dist/bin/named/server.c Tue Dec 14 23:17:20 2010 +0000
+++ b/external/bsd/bind/dist/bin/named/server.c Tue Dec 14 23:18:31 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: server.c,v 1.6 2010/12/02 14:52:18 christos Exp $ */
+/* $NetBSD: server.c,v 1.7 2010/12/14 23:18:31 christos Exp $ */
/*
* Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
@@ -6894,7 +6894,7 @@
/* Rewrite zone list */
result = isc_stdio_open(filename, "r", &ifp);
if (ifp != NULL && result == ISC_R_SUCCESS) {
- char *found = NULL, *p;
+ char *found = NULL, *p = NULL; /* XXX: gcc */
size_t n;
/* Create a temporary file */
Home |
Main Index |
Thread Index |
Old Index