mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
Mark unused vars as comment
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@104 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 1b13da2617
Author: mws <mws@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-21 (Mon, 21 Dec 2009)
This commit is contained in:
@@ -24,7 +24,7 @@ int fh_png_id(const char *name)
|
||||
}
|
||||
|
||||
|
||||
int fh_png_load(const char *name,unsigned char **buffer,int* xp,int* yp)
|
||||
int fh_png_load(const char *name,unsigned char **buffer,int* /*xp*/,int* /*yp*/)
|
||||
{
|
||||
static const png_color_16 my_background = {0, 0, 0, 0, 0};
|
||||
|
||||
@@ -48,14 +48,14 @@ int fh_png_load(const char *name,unsigned char **buffer,int* xp,int* yp)
|
||||
if(info_ptr == NULL)
|
||||
{
|
||||
png_destroy_read_struct(&png_ptr, (png_infopp)NULL, (png_infopp)NULL);
|
||||
fclose(fh);
|
||||
fclose(fh);
|
||||
return(FH_ERROR_FORMAT);
|
||||
}
|
||||
|
||||
if(setjmp(png_ptr->jmpbuf))
|
||||
{
|
||||
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
|
||||
fclose(fh);
|
||||
fclose(fh);
|
||||
return(FH_ERROR_FORMAT);
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ int fh_png_load(const char *name,unsigned char **buffer,int* xp,int* yp)
|
||||
return(FH_ERROR_OK);
|
||||
}
|
||||
|
||||
int fh_png_getsize(const char *name,int *x,int *y, int wanted_width, int wanted_height)
|
||||
int fh_png_getsize(const char *name,int *x,int *y, int /*wanted_width*/, int /*wanted_height*/)
|
||||
{
|
||||
png_structp png_ptr;
|
||||
png_infop info_ptr;
|
||||
@@ -135,14 +135,14 @@ int fh_png_getsize(const char *name,int *x,int *y, int wanted_width, int wanted_
|
||||
if(info_ptr == NULL)
|
||||
{
|
||||
png_destroy_read_struct(&png_ptr, (png_infopp)NULL, (png_infopp)NULL);
|
||||
fclose(fh);
|
||||
fclose(fh);
|
||||
return(FH_ERROR_FORMAT);
|
||||
}
|
||||
|
||||
if(setjmp(png_ptr->jmpbuf))
|
||||
{
|
||||
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
|
||||
fclose(fh);
|
||||
fclose(fh);
|
||||
return(FH_ERROR_FORMAT);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user