Skip to content

Commit

Permalink
Merge pull request #1 from magento-techdivision/feature/MC-16959-Warn…
Browse files Browse the repository at this point in the history
…ing-continue-in-switch

MC-16959: 4) Warning: 'continue' targeting switch
  • Loading branch information
Lars Roettig authored Jul 1, 2019
2 parents 4df0182 + 45adf5e commit b93bba5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/Zend/Pdf/FileParser/Font/OpenType.php
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ protected function _parseCmapTable()
if ($language != 0) {
$this->_debugLog('Type 0 cmap tables must be language-independent;'
. ' language: %d; skipping', $language);
continue;
break;
}
break;

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

default:
$this->_debugLog('Unknown subtable format: 0x%x; skipping', $format);
continue;
break;
}
$cmapType = $format;
break;
Expand Down

0 comments on commit b93bba5

Please sign in to comment.