]> Creatis software - gdcm.git/commitdiff
ENH: Fix some compilation warnings
authormalaterre <malaterre>
Thu, 23 Sep 2004 16:58:28 +0000 (16:58 +0000)
committermalaterre <malaterre>
Thu, 23 Sep 2004 16:58:28 +0000 (16:58 +0000)
src/gdcmJpeg.cxx
src/gdcmJpeg12.cxx

index a2c3250ca8dbd2bb73fae5f9735cad103b4515a3..b64fed03d2a816b8c31e925fdc31a945490b1d6e 100644 (file)
@@ -243,6 +243,8 @@ bool gdcm_write_JPEG_file (FILE *fp, void * im_buf,
   jpeg_destroy_compress(&cinfo);
 
   /* And we're done! */
+
+  return true; //???
 }
 
 
index 956cda503be396b7221794954a14085643525787..a87cbd47b3ea2a6b93d8752a31ff23ea8edc070d 100644 (file)
@@ -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 *******************/