]> Creatis software - gdcm.git/blobdiff - src/gdcmjpegls/Decoder/global.c
COMP: Too bad gcc3.3 on APPLE does not supported deprecated attribute on ctor......
[gdcm.git] / src / gdcmjpegls / Decoder / global.c
index 23105739183f27bb6331cfe22e3125564d8cc088..768a3ead7a4e3ec1148bc20bc8ff2f295e9c79f5 100644 (file)
@@ -74,7 +74,7 @@ without the written permission of the copyright holder.\n\
 FILE *in, *out;
 FILE *c_in[MAX_COMPONENTS];
 FILE *c_out[MAX_COMPONENTS];
-FILE *msgfile = NULL; // = stdout;
+FILE *msgfile = NULL; /* = stdout;*/
 
 /* Context quantization thresholds  - initially unset */
 int     T3 = -1,
@@ -145,8 +145,8 @@ void *safecalloc(size_t numels, size_t size) {
 
 double get_utime()
 {
-  clock_t c;
-  (void)c;
+  /*clock_t c;
+  (void)c;*/
 
   return (double)clock()/CLOCKS_PER_SEC;
 }
@@ -333,7 +333,7 @@ char *ttyfilename = "CON";
 void fprint_disclaimer(FILE *fp, int nopause)
 {
   char *p0, *p1;
-  FILE *ttyf;
+  FILE *ttyf = NULL;
   int  i; /*, c;*/
 
   nopause = nopause | !isatty(fileno(fp));