mirror of
https://github.com/leozide/leocad
synced 2025-02-16 21:33:34 +01:00
Removed unused variable.
This commit is contained in:
parent
fc75820732
commit
49a48913e6
1 changed files with 9 additions and 11 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue