]> Creatis software - gdcm.git/blobdiff - src/gdcmjpegls/Decoder/jpegmark.c
COMP: Tons of warnings fix...cannot believe how poorly written this was
[gdcm.git] / src / gdcmjpegls / Decoder / jpegmark.c
index 64dcc88b756e1c3152e807e375907fa73f716908..c6c092bc7a2a8917ba44ceb7c7563ea9688f21d9 100644 (file)
@@ -211,7 +211,7 @@ write_jpegls_scan(FILE *out, jpeg_ls_header *jp)
 int
 write_jpegls_extmarker(FILE *out, jpeg_ls_header *jp)
 {
-    int marker_len, ct=0;
+    int ct=0;
      
     ct += write_marker(out, LSE);   /* write JPEG-LS extended marker id */
 
@@ -270,7 +270,7 @@ int
 read_marker(FILE *in, int *mkp)
 /* reads a marker from the next two bytes in the input stream */
 {
-  unsigned int m, ct=0;
+  unsigned int m;
 
   m = read_n_bytes(in, 2);
   if ( feof(in) ) return EOF;
@@ -434,7 +434,6 @@ int read_jpegls_extmarker(FILE *in, jpeg_ls_header *jp)
 {
     int marker_len,    /* marker length */
     maxval,      /* max value */
-    T1, T2, T3,    /* thresholds */
     ct = 0;      
   int IDtype;      /* LSE type */
   int TID;      /* table ID */