svn commit: r302774 - stable/10/sys/net
Pedro F. Giffuni
pfg at FreeBSD.org
Wed Jul 13 16:20:19 UTC 2016
Author: pfg
Date: Wed Jul 13 16:20:18 2016
New Revision: 302774
URL: https://svnweb.freebsd.org/changeset/base/302774
Log:
MFC r302476:
ng_mppc(4): basic readability cleanups.
No functional change.
Modified:
stable/10/sys/net/mppcc.c
stable/10/sys/net/mppcd.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/net/mppcc.c
==============================================================================
--- stable/10/sys/net/mppcc.c Wed Jul 13 15:51:58 2016 (r302773)
+++ stable/10/sys/net/mppcc.c Wed Jul 13 16:20:18 2016 (r302774)
@@ -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/10/sys/net/mppcd.c
==============================================================================
--- stable/10/sys/net/mppcd.c Wed Jul 13 15:51:58 2016 (r302773)
+++ stable/10/sys/net/mppcd.c Wed Jul 13 16:20:18 2016 (r302774)
@@ -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);
}
More information about the svn-src-stable-10
mailing list