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 <b...@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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to