libdthelp: Resolve 65 -Wunused-variable warnings

This commit is contained in:
Peter Howkins
2012-11-09 17:20:46 +00:00
parent 6f2a704bbd
commit 21feacd159
27 changed files with 16 additions and 59 deletions

View File

@@ -137,13 +137,15 @@ static void my_error_exit (j_common_ptr cinfo)
*****************************************************************************/
static void my_output_message (j_common_ptr cinfo)
{
char buffer[JMSG_LENGTH_MAX];
/*
** Uncommenting the lines below will cause error and warning messages
** from the JPEG library to be displayed to stderr instead of suppressed
*/
/*
** char buffer[JMSG_LENGTH_MAX];
*/
/*
** Create the message
**
@@ -169,7 +171,7 @@ static void my_output_message (j_common_ptr cinfo)
static void init_source (
j_decompress_ptr cinfo)
{
stream_src_ptr src = (stream_src_ptr) cinfo->src;
/* stream_src_ptr src = (stream_src_ptr) cinfo->src; */
}
/******************************************************************************