1
0
Fork 0
mirror of https://github.com/leozide/leocad synced 2025-02-16 21:33:34 +01:00

Removed unused variable.

This commit is contained in:
leo 2013-07-07 22:29:58 +00:00
parent fc75820732
commit 49a48913e6

View file

@ -354,7 +354,6 @@ bool Image::SaveJPG(lcFile& file, int quality, bool progressive) const
{
struct jpeg_compress_struct cinfo;
struct bt_jpeg_error_mgr jerr;
int row_stride; // physical row widthPix in image buffer
// allocate and initialize JPEG compression object
cinfo.err = jpeg_std_error(&jerr.pub);
@ -384,7 +383,6 @@ bool Image::SaveJPG(lcFile& file, int quality, bool progressive) const
jpeg_simple_progression(&cinfo);
jpeg_start_compress (&cinfo, TRUE);
row_stride = m_nWidth * 3;
while (cinfo.next_scanline < cinfo.image_height)
{