iccvid: Remove dead stores (llvm/clang).
authorRicardo Filipe <ricardo_barbano@hotmail.com>
Wed, 3 Dec 2008 03:43:44 +0000 (03:43 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 4 Dec 2008 11:41:57 +0000 (12:41 +0100)
dlls/iccvid/iccvid.c

index 19faf1db2eeea4874802a1b8a6a94b0ab07f8050..77328eabcda51decd46e2c6d4734f1663ff74592 100644 (file)
@@ -390,13 +390,13 @@ static void decode_cinepak(cinepak_info *cvinfo, unsigned char *buf, int size,
     unsigned long x, y, y_bottom, frame_flags, strips, cv_width, cv_height,
                   cnum, strip_id, chunk_id, x0, y0, x1, y1, ci, flag, mask;
     long len, top_size, chunk_size;
-    unsigned char *frm_ptr, *frm_end;
+    unsigned char *frm_ptr;
     unsigned int i, cur_strip;
     int d0, d1, d2, d3, frm_stride, bpp = 3;
     fn_cvid_v1 cvid_v1 = cvid_v1_24;
     fn_cvid_v4 cvid_v4 = cvid_v4_24;
 
-    x = y = 0;
+    y = 0;
     y_bottom = 0;
     in_buffer = buf;
 
@@ -431,7 +431,6 @@ static void decode_cinepak(cinepak_info *cvinfo, unsigned char *buf, int size,
 
     frm_stride = width * bpp;
     frm_ptr = frame;
-    frm_end = frm_ptr + width * height * bpp;
 
     if(len != size)
         {