svn commit: r306552 - head/lib/libstand

Toomas Soome tsoome at FreeBSD.org
Sat Oct 1 07:46:29 UTC 2016


Author: tsoome
Date: Sat Oct  1 07:46:28 2016
New Revision: 306552
URL: https://svnweb.freebsd.org/changeset/base/306552

Log:
  Fix remaining cstyle issues in libstand/cd9660.c
  
  Reported by:	Bruce Evans <brde at optusnet.com.au>
  Reviewed by:	allanjude
  Approved by:	allanjude (mentor)
  Differential Revision:	https://reviews.freebsd.org/D8107

Modified:
  head/lib/libstand/cd9660.c

Modified: head/lib/libstand/cd9660.c
==============================================================================
--- head/lib/libstand/cd9660.c	Sat Oct  1 06:50:16 2016	(r306551)
+++ head/lib/libstand/cd9660.c	Sat Oct  1 07:46:28 2016	(r306552)
@@ -353,15 +353,13 @@ cd9660_open(const char *path, struct ope
 
 			dp = (struct iso_directory_record *)
 				((char *) dp + isonum_711(dp->length));
-
 			/* if the new block is zero length, its padding */
 			if (isonum_711(dp->length) == 0) {
 				/* skip to next block, if any */
 				off = boff * ISO_DEFAULT_BLOCK_SIZE;
 				continue;
-			} else {
-				off += isonum_711(dp->length);
 			}
+			off += isonum_711(dp->length);
 		}
 		if (off >= dsize) {
 			rc = ENOENT;


More information about the svn-src-all mailing list