diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-27 22:42:27 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-27 22:42:27 +0000 |
commit | 831a80b0d5d50e416fe5e4b237d3a9fd4eea00b8 (patch) | |
tree | f992000fa6fa60b61396de4df4bebeada04cda79 /sys/netatm/spans/spans_cls.c | |
parent | be317f36a9bf314d51d60720160fc0677390c728 (diff) |
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Notes
Notes:
svn path=/head/; revision=43305
Diffstat (limited to 'sys/netatm/spans/spans_cls.c')
-rw-r--r-- | sys/netatm/spans/spans_cls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netatm/spans/spans_cls.c b/sys/netatm/spans/spans_cls.c index 17dc135fc547..24dd44f2b725 100644 --- a/sys/netatm/spans/spans_cls.c +++ b/sys/netatm/spans/spans_cls.c @@ -23,7 +23,7 @@ * Copies of this Software may be made, however, the above copyright * notice must be reproduced on all copies. * - * @(#) $Id: spans_cls.c,v 1.2 1998/10/31 20:06:56 phk Exp $ + * @(#) $Id: spans_cls.c,v 1.3 1998/12/04 22:54:53 archie Exp $ * */ @@ -44,7 +44,7 @@ #include <netatm/spans/spans_cls.h> #ifndef lint -__RCSID("@(#) $Id: spans_cls.c,v 1.2 1998/10/31 20:06:56 phk Exp $"); +__RCSID("@(#) $Id: spans_cls.c,v 1.3 1998/12/04 22:54:53 archie Exp $"); #endif @@ -703,7 +703,7 @@ spanscls_cpcs_data(tok, m) /* * Packet is ready for input to IP */ - if (inp = clp->cls_ipnif) + if ((inp = clp->cls_ipnif) != NULL) (void) (*inp->inf_ipinput)(inp, m); else KB_FREEALL(m); |