Date: Wed, 13 Jul 2016 16:24:03 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r302775 - stable/9/sys/net Message-ID: <201607131624.u6DGO3gh047646@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Wed Jul 13 16:24:02 2016 New Revision: 302775 URL: https://svnweb.freebsd.org/changeset/base/302775 Log: MFC r302476: ng_mppc(4): basic readability cleanups. No functional change. Modified: stable/9/sys/net/mppcc.c stable/9/sys/net/mppcd.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/net/ (props changed) Modified: stable/9/sys/net/mppcc.c ============================================================================== --- stable/9/sys/net/mppcc.c Wed Jul 13 16:20:18 2016 (r302774) +++ stable/9/sys/net/mppcc.c Wed Jul 13 16:24:02 2016 (r302775) @@ -233,7 +233,7 @@ int MPPC_Compress(u_char **src, u_char * putbits16(*dst, 0xc000|(off-320), 16, &olen, &l); } else { /* NOTREACHED */ rtn &= ~MPPC_OK; - return rtn; + return (rtn); } /* Encode length of match. */ Modified: stable/9/sys/net/mppcd.c ============================================================================== --- stable/9/sys/net/mppcd.c Wed Jul 13 16:20:18 2016 (r302774) +++ stable/9/sys/net/mppcd.c Wed Jul 13 16:24:02 2016 (r302775) @@ -170,7 +170,7 @@ int MPPC_Decompress(u_char **src, u_char rtn &= ~MPPC_OK; return (rtn); } - } else { /* NOTREACHED */ + } else { /* This shouldn't happen. */ rtn &= ~MPPC_OK; return (rtn); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607131624.u6DGO3gh047646>