never used value

This commit is contained in:
satbaby
2012-05-06 14:10:48 +02:00
parent 2a00f4fafb
commit 6ec13051a1
8 changed files with 20 additions and 26 deletions

View File

@@ -169,7 +169,7 @@ int fh_crw_load(const char *filename,unsigned char **buffer,int* xp,int* /*yp*/)
struct jpeg_decompress_struct *ciptr;
struct r_crw_jpeg_error_mgr emgr;
unsigned char *bp;
int px,py,c,x=*xp;
int px/*,py*/,c,x=*xp;
FILE *fh;
JSAMPLE *lb;
@@ -204,7 +204,7 @@ int fh_crw_load(const char *filename,unsigned char **buffer,int* xp,int* /*yp*/)
jpeg_start_decompress(ciptr);
px=ciptr->output_width; py=ciptr->output_height;
px=ciptr->output_width; //py=ciptr->output_height;
c=ciptr->output_components;
@@ -234,7 +234,7 @@ int fh_crw_getsize(const char *filename,int *x,int *y, int wanted_width, int wan
struct jpeg_decompress_struct *ciptr;
struct r_crw_jpeg_error_mgr emgr;
int px,py,c;
int px,py/*,c*/;
FILE *fh;
ciptr=&cinfo;
@@ -271,7 +271,7 @@ int fh_crw_getsize(const char *filename,int *x,int *y, int wanted_width, int wan
jpeg_start_decompress(ciptr);
px=ciptr->output_width; py=ciptr->output_height;
c=ciptr->output_components;
// c=ciptr->output_components;
*x=px; *y=py;
// jpeg_finish_decompress(ciptr);
jpeg_destroy_decompress(ciptr);

View File

@@ -47,7 +47,7 @@ inline void m_rend_gif_decodecolormap(unsigned char *cmb,unsigned char *rgbb,Col
}
int fh_gif_load(const char *name,unsigned char **buffer,int* /*xp*/,int* /*yp*/)
{
int px,py,i,ibxs;
int px,py,i/*,ibxs*/;
int j;
unsigned char *fbptr;
unsigned char *lb;
@@ -79,7 +79,7 @@ int fh_gif_load(const char *name,unsigned char **buffer,int* /*xp*/,int* /*yp*/)
cmap=(gft->Image.ColorMap ? gft->Image.ColorMap : gft->SColorMap);
cmaps=cmap->ColorCount;
ibxs=ibxs*3;
// ibxs=ibxs*3;
fbptr=*buffer;
if(!(gft->Image.Interlace))
{

View File

@@ -234,7 +234,7 @@ int fh_jpeg_getsize(const char *filename,int *x,int *y, int wanted_width, int wa
struct jpeg_decompress_struct *ciptr;
struct r_jpeg_error_mgr emgr;
int px,py,c;
int px,py/*,c*/;
FILE *fh;
ciptr=&cinfo;
if(!(fh=fopen(filename,"rb"))) return(FH_ERROR_FILE);
@@ -269,7 +269,7 @@ int fh_jpeg_getsize(const char *filename,int *x,int *y, int wanted_width, int wa
jpeg_start_decompress(ciptr);
px=ciptr->output_width; py=ciptr->output_height;
c=ciptr->output_components;
// c=ciptr->output_components;
#if 1
if(!g_settings.picviewer_decode_server_ip.empty())
{

View File

@@ -111,10 +111,10 @@ bool CPictureViewer::DecodeImage (const std::string & name, bool showBusySign, b
return true;
}
#endif
int x, y, xs, ys, imx, imy;
int x, y, imx, imy;
xs = CFrameBuffer::getInstance()->getScreenWidth(true);
ys = CFrameBuffer::getInstance()->getScreenHeight(true);
// int xs = CFrameBuffer::getInstance()->getScreenWidth(true);
// int ys = CFrameBuffer::getInstance()->getScreenHeight(true);
// Show red block for "next ready" in view state
if (showBusySign)