svn commit: r302775 - stable/9/sys/net

Pedro F. Giffuni pfg at FreeBSD.org
Wed Jul 13 16:24:04 UTC 2016


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);
 		}


More information about the svn-src-stable-9 mailing list