Skip to content

Commit b93bba5

Browse files
author
Lars Roettig
authored
Merge pull request #1 from magento-techdivision/feature/MC-16959-Warning-continue-in-switch
MC-16959: 4) Warning: 'continue' targeting switch
2 parents 4df0182 + 45adf5e commit b93bba5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/Zend/Pdf/FileParser/Font/OpenType.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ protected function _parseCmapTable()
898898
if ($language != 0) {
899899
$this->_debugLog('Type 0 cmap tables must be language-independent;'
900900
. ' language: %d; skipping', $language);
901-
continue;
901+
break;
902902
}
903903
break;
904904

@@ -917,7 +917,7 @@ protected function _parseCmapTable()
917917
case 0xa: // break intentionally omitted
918918
case 0xc:
919919
$this->_debugLog('Format: 0x%x currently unsupported; skipping', $format);
920-
continue;
920+
break;
921921
//$this->skipBytes(2);
922922
//$cmapLength = $this->readUInt(4);
923923
//$language = $this->readUInt(4);
@@ -929,7 +929,7 @@ protected function _parseCmapTable()
929929

930930
default:
931931
$this->_debugLog('Unknown subtable format: 0x%x; skipping', $format);
932-
continue;
932+
break;
933933
}
934934
$cmapType = $format;
935935
break;

0 commit comments

Comments
 (0)