Author: eadler Date: Fri Jan 20 01:37:39 2012 New Revision: 230348 URL: http://svn.freebsd.org/changeset/base/230348
Log: Fix warning when compiling with gcc46: error: variable 'extra_async_bytes' set but not used Approved by: dim, cperciva (mentor, blanket for pre-mentorship already-approved commits) MFC After: 3 days Modified: head/usr.sbin/ppp/lqr.c Modified: head/usr.sbin/ppp/lqr.c ============================================================================== --- head/usr.sbin/ppp/lqr.c Fri Jan 20 01:37:31 2012 (r230347) +++ head/usr.sbin/ppp/lqr.c Fri Jan 20 01:37:39 2012 (r230348) @@ -417,7 +417,7 @@ lqr_LayerPush(struct bundle *b __unused, int pri __unused, u_short *proto) { struct physical *p = link2physical(l); - int len, layer, extra_async_bytes; + int len, layer; if (!p) { /* Oops - can't happen :-] */ @@ -445,7 +445,6 @@ lqr_LayerPush(struct bundle *b __unused, * acf layers (to avoid alignment issues), so deal with this too. */ - extra_async_bytes = 0; p->hdlc.lqm.ifOutUniPackets++; p->hdlc.lqm.ifOutOctets += len + 1; /* plus 1 flag octet! */ for (layer = 0; layer < l->nlayers; layer++) _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"