From owner-svn-src-all@FreeBSD.ORG Wed Mar 28 02:35:29 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2642F1065670; Wed, 28 Mar 2012 02:35:29 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 10CD08FC0A; Wed, 28 Mar 2012 02:35:29 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q2S2ZS8J014372; Wed, 28 Mar 2012 02:35:28 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q2S2ZSkM014370; Wed, 28 Mar 2012 02:35:28 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201203280235.q2S2ZSkM014370@svn.freebsd.org> From: Eitan Adler Date: Wed, 28 Mar 2012 02:35:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r233590 - stable/7/usr.sbin/ppp X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2012 02:35:29 -0000 Author: eadler Date: Wed Mar 28 02:35:28 2012 New Revision: 233590 URL: http://svn.freebsd.org/changeset/base/233590 Log: MFC r230348: - Fix warning when compiling with gcc46: error: variable 'extra_async_bytes' set but not used Approved by: cperciva (implicit) Modified: stable/7/usr.sbin/ppp/lqr.c Directory Properties: stable/7/usr.sbin/ppp/ (props changed) Modified: stable/7/usr.sbin/ppp/lqr.c ============================================================================== --- stable/7/usr.sbin/ppp/lqr.c Wed Mar 28 02:34:28 2012 (r233589) +++ stable/7/usr.sbin/ppp/lqr.c Wed Mar 28 02:35:28 2012 (r233590) @@ -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++)