From c409cea027a78568fc06272becf98b4f0ede0513 Mon Sep 17 00:00:00 2001 From: malaterre Date: Thu, 23 Sep 2004 16:58:28 +0000 Subject: [PATCH] ENH: Fix some compilation warnings --- src/gdcmJpeg.cxx | 2 ++ src/gdcmJpeg12.cxx | 7 +++++++ 2 files changed, 9 insertions(+) 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 *******************/ -- 2.45.1