Skip to content
Permalink
Browse files

ZVISION: Remove dead code (uint is always > 0)

  • Loading branch information
salty-horse committed Dec 27, 2014
1 parent 1016838 commit b3712cc877482e150a3532fa0f21f5c03dc839f1
Showing with 0 additions and 5 deletions.
  1. +0 −5 engines/zvision/video/rlf_decoder.cpp
@@ -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;

0 comments on commit b3712cc

Please sign in to comment.
You can’t perform that action at this time.