summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/labelmapping.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2015-02-09 11:53:26 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2015-02-09 11:53:26 +0000
commit3095c52d572a03a6979f6420bdffbc52e343d9c5 (patch)
treed1f1354f5e8558d53d15d9f28b79da19aaff18f7 /usr.sbin/ldpd/labelmapping.c
parent662c7f014418b5445a9c3504f44b623d0f971f71 (diff)
Initialise a variable to please gcc.
Diffstat (limited to 'usr.sbin/ldpd/labelmapping.c')
-rw-r--r--usr.sbin/ldpd/labelmapping.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldpd/labelmapping.c b/usr.sbin/ldpd/labelmapping.c
index 54dfa94710f..1322e481197 100644
--- a/usr.sbin/ldpd/labelmapping.c
+++ b/usr.sbin/ldpd/labelmapping.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: labelmapping.c,v 1.30 2015/01/20 18:09:12 deraadt Exp $ */
+/* $OpenBSD: labelmapping.c,v 1.31 2015/02/09 11:53:25 claudio Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -121,7 +121,7 @@ recv_labelmessage(struct nbr *nbr, char *buf, u_int16_t len, u_int16_t type)
{
struct ldp_msg lm;
struct tlv ft;
- u_int32_t label, reqid;
+ u_int32_t label, reqid = 0;
u_int8_t flags = 0;
int feclen, lbllen, tlen;