From aefaa124e28c1fe8e6927b1e8a3959895c9eedf2 Mon Sep 17 00:00:00 2001 From: malaterre Date: Sat, 5 Feb 2005 15:15:26 +0000 Subject: [PATCH] COMP: Fix warnings about unused function --- src/gdcmJpeg.cxx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/gdcmJpeg.cxx b/src/gdcmJpeg.cxx index 28847f4c..7cce70bf 100644 --- a/src/gdcmJpeg.cxx +++ b/src/gdcmJpeg.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmJpeg.cxx,v $ Language: C++ - Date: $Date: 2005/02/05 05:08:53 $ - Version: $Revision: 1.45 $ + Date: $Date: 2005/02/05 15:15:26 $ + Version: $Revision: 1.46 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -197,16 +197,16 @@ METHODDEF(void) my_error_exit (j_common_ptr cinfo) { longjmp(myerr->setjmp_buffer, 1); } -METHODDEF(void) my_output_message (j_common_ptr cinfo) -{ - char buffer[JMSG_LENGTH_MAX]; - - /* Create the message */ - (*cinfo->err->format_message) (cinfo, buffer); - - // Custom display message, we could be more fancy and throw an exception: - gdcmErrorMacro( buffer ); -} +//METHODDEF(void) my_output_message (j_common_ptr cinfo) +//{ +// char buffer[JMSG_LENGTH_MAX]; +// +// /* Create the message */ +// (*cinfo->err->format_message) (cinfo, buffer); +// +// // Custom display message, we could be more fancy and throw an exception: +// gdcmErrorMacro( buffer ); +//} } //----------------------------------------------------------------------------- -- 2.48.1