Fixes Coverity CID 709329: Unchecked return value (CHECKED_RETURN)
Calling function "lseek" without checking return value (as is done elsewhere 19 out of 20 times).
No check of the return value of "lseek(this->fd, 0L, 0)".
409 lseek( fd, 0, SEEK_SET );
return false;
if ( read( fd, data, 4 ) < 0 )
return false;
- lseek( fd, 0, SEEK_SET );
+ if ( lseek( fd, 0, SEEK_SET ) < 0 )
+ return false;
numBlocks = ( ( data[ 3 ] & 0x80 ) == 0 ) ? 250 : 300;
filename = s;
return true;