Skip to content

Commit

Permalink
ZVISION: Remove dead code (uint is always > 0)
Browse files Browse the repository at this point in the history
  • Loading branch information
salty-horse committed Dec 27, 2014
1 parent 1016838 commit b3712cc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions engines/zvision/video/rlf_decoder.cpp
Expand Up @@ -164,11 +164,6 @@ bool RLFDecoder::RLFVideoTrack::seek(const Audio::Timestamp &time) {
if ((uint)_curFrame == frame)
return true;

if (frame < 0) {
_curFrame = 0;
return false;
}

int closestFrame = _curFrame;
int distance = (int)frame - _curFrame;

Expand Down

0 comments on commit b3712cc

Please sign in to comment.