Fix "warning: unused variable 'skipFrames'"
Merge pull request #287 from Tilka/unused_variable

Fix "warning: unused variable 'skipFrames'"