Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2016 16:20:18 +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-10@freebsd.org
Subject:   svn commit: r302774 - stable/10/sys/net
Message-ID:  <201607131620.u6DGKINZ043936@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607131620.u6DGKINZ043936>