diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2010-11-05 10:30:34 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2010-11-05 10:30:34 +0000 |
commit | 89c67b89ea588b9f49cf468d507fcb13123316ff (patch) | |
tree | c1881bc8dc4a1ca2dcc816f0efb56093a4fd4b71 /usr.sbin | |
parent | ae686f223a0e393b174fcb573529a8834a6b0232 (diff) |
- fix possible use of uninitialized variable.
ok claudio@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/mrouted/igmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mrouted/igmp.c b/usr.sbin/mrouted/igmp.c index 2f16c1f6ba1..f2c86586bb3 100644 --- a/usr.sbin/mrouted/igmp.c +++ b/usr.sbin/mrouted/igmp.c @@ -303,7 +303,7 @@ send_igmp(u_int32_t src, u_int32_t dst, int type, int code, struct sockaddr_in sdst; struct ip *ip; struct igmp *igmp; - int setloop; + int setloop = 0; ip = (struct ip *)send_buf; ip->ip_src.s_addr = src; |