Remove unused variable in doc::read_image()

This commit is contained in:
David Capello 2015-04-09 13:46:20 -03:00
parent 2af9155cfb
commit 989698dc6a

View File

@ -120,7 +120,6 @@ Image* read_image(std::istream& is, bool setId)
if (err != Z_OK)
throw base::Exception("ZLib error %d in inflateInit().", err);
uint8_t* uncompressed = image->getPixelAddress(0, 0);
int uncompressed_size = image->height() * rowSize;
int uncompressed_offset = 0;
int remain = avail_bytes;