@@ -254,17 +254,13 @@ return [[_lastEntry copy] autorelease]; } - (OFStream *)streamForReadingCurrentEntry { - OFString *method; - if (_lastReturnedStream == nil) @throw [OFInvalidArgumentException exception]; - method = [_lastEntry method]; - return [[_lastReturnedStream retain] autorelease]; } - (void)close { @@ -453,11 +449,11 @@ _state = STATE_LITLEN_TREE; goto start; case STATE_LITLEN_TREE: while (_codesReceived < _codesCount) { if OF_UNLIKELY (_skip) { - uint_fast16_t skipCount; + uint16_t skipCount; switch (_codesLengths[_codesReceived]) { case 0: skipCount = 1; break; @@ -482,11 +478,11 @@ if OF_UNLIKELY (_codesReceived + skipCount > _codesCount) @throw [OFInvalidFormatException exception]; - for (uint16_t j = 0; j < skipCount; j++) + for (uint_fast16_t j = 0; j < skipCount; j++) _codesLengths[_codesReceived++] = 0; _skip = false; continue; } @@ -680,10 +676,12 @@ _treeIter = _litLenTree; _state = STATE_BLOCK_LITLEN; goto start; } + + OF_UNREACHABLE } - (bool)lowlevelIsAtEndOfStream { if (_stream == nil)