From 062b8022ac9bc7a92bf766988e8601ea7c29be88 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Sat, 1 Oct 2016 07:46:28 +0000 Subject: [PATCH] Fix remaining cstyle issues in libstand/cd9660.c Reported by: Bruce Evans Reviewed by: allanjude Approved by: allanjude (mentor) Differential Revision: https://reviews.freebsd.org/D8107 --- lib/libstand/cd9660.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/libstand/cd9660.c b/lib/libstand/cd9660.c index 94d3ed29b1c5..ced7b55ea703 100644 --- a/lib/libstand/cd9660.c +++ b/lib/libstand/cd9660.c @@ -353,15 +353,13 @@ cd9660_open(const char *path, struct open_file *f) 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;