From: malaterre Date: Sat, 5 Feb 2005 15:15:26 +0000 (+0000) Subject: COMP: Fix warnings about unused function X-Git-Tag: Version1.0.bp~71 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=aefaa124e28c1fe8e6927b1e8a3959895c9eedf2;p=gdcm.git COMP: Fix warnings about unused function --- 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 ); +//} } //-----------------------------------------------------------------------------