diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2000-10-09 17:01:11 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2000-10-09 17:01:11 +0000 |
commit | 435292fd15256635dedadc558ca7867f5322a6df (patch) | |
tree | f7ac1296dc773bd3d139accd2b32ed26e71faea5 | |
parent | c94e66d505e0787c65ef90a0d70a966649bf55b4 (diff) |
uninitialized variable; spotted by Andrew Lunn <andrew.lunn@ascom.ch>
-rw-r--r-- | sys/net/if_bridge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 5c90258dd75..c30153b0723 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bridge.c,v 1.35 2000/06/26 23:16:37 art Exp $ */ +/* $OpenBSD: if_bridge.c,v 1.36 2000/10/09 17:01:10 jason Exp $ */ /* * Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net) @@ -615,7 +615,7 @@ bridge_brlconf(sc, bc) struct brl_node *n; struct ifbrlreq req; int error = 0; - u_int32_t i, total; + u_int32_t i, total = 0; ifp = ifunit(bc->ifbrl_ifsname); if (ifp == NULL) |