diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-04-12 20:03:23 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-04-12 20:03:23 +0000 |
commit | 5bbfeab43e36b8871a91a734b28196bba8ce573d (patch) | |
tree | adaeb6ce280057a250c789b9b562bb970fb8a794 /sys/altq | |
parent | f4b3c301cf3ceb06103ed631ea8dff1704066f79 (diff) |
life's easier if one initializes pointers...
Diffstat (limited to 'sys/altq')
-rw-r--r-- | sys/altq/altq_hfsc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/altq/altq_hfsc.c b/sys/altq/altq_hfsc.c index 579be9ccf49..681acf9bfc6 100644 --- a/sys/altq/altq_hfsc.c +++ b/sys/altq/altq_hfsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: altq_hfsc.c,v 1.17 2003/04/12 18:59:16 henning Exp $ */ +/* $OpenBSD: altq_hfsc.c,v 1.18 2003/04/12 20:03:22 henning Exp $ */ /* $KAME: altq_hfsc.c,v 1.17 2002/11/29 07:48:33 kjc Exp $ */ /* @@ -209,6 +209,7 @@ hfsc_add_queue(struct pf_altq *a) opts = &a->pq_u.hfsc_opts; + parent = NULL; if (a->qid != HFSC_ROOTCLASS_HANDLE) if ((parent = clh_to_clp(hif, a->parent_qid)) == NULL) return (EINVAL); |