From: malaterre Date: Thu, 23 Sep 2004 16:58:28 +0000 (+0000) Subject: ENH: Fix some compilation warnings X-Git-Tag: Version0.6.bp~175 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c409cea027a78568fc06272becf98b4f0ede0513;p=gdcm.git ENH: Fix some compilation warnings --- diff --git a/src/gdcmJpeg.cxx b/src/gdcmJpeg.cxx index a2c3250c..b64fed03 100644 --- a/src/gdcmJpeg.cxx +++ b/src/gdcmJpeg.cxx @@ -243,6 +243,8 @@ bool gdcm_write_JPEG_file (FILE *fp, void * im_buf, jpeg_destroy_compress(&cinfo); /* And we're done! */ + + return true; //??? } diff --git a/src/gdcmJpeg12.cxx b/src/gdcmJpeg12.cxx index 956cda50..a87cbd47 100644 --- a/src/gdcmJpeg12.cxx +++ b/src/gdcmJpeg12.cxx @@ -101,6 +101,13 @@ extern "C" { bool gdcm_write_JPEG_file12 (FILE *fp, void * im_buff, int image_width, int image_heigh, int quality) { + (void)fp; + (void)im_buff; + (void)image_width; + (void)image_heigh; + (void)quality; + + return true; //??? } /******************** JPEG DECOMPRESSION SAMPLE INTERFACE *******************/