summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-02-17 15:44:03 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-02-17 15:44:03 +0000
commit41b4a2e897b4ed52e23021ce03853d0487ca1878 (patch)
tree9a9de1accb654498ab9655a9130a9e8602058b0d
parent702683a1d4b10d5288762fe29cdd853ed3de4552 (diff)
Make gcc on sparc happy. OK henning@
-rw-r--r--usr.sbin/bgpd/rde_update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde_update.c b/usr.sbin/bgpd/rde_update.c
index c4c1b8335ae..dda9669ed8d 100644
--- a/usr.sbin/bgpd/rde_update.c
+++ b/usr.sbin/bgpd/rde_update.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_update.c,v 1.2 2004/02/09 01:56:18 henning Exp $ */
+/* $OpenBSD: rde_update.c,v 1.3 2004/02/17 15:44:02 claudio Exp $ */
/*
* Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
@@ -138,7 +138,7 @@ up_attr_cmp(struct update_attr *a, struct update_attr *b)
int
up_add(struct rde_peer *peer, struct update_prefix *p, struct update_attr *a)
{
- struct update_attr *na;
+ struct update_attr *na = NULL;
struct update_prefix *np;
ENSURE(p != NULL);