]> Creatis software - gdcm.git/commitdiff
COMP: Remove ret this is never use in the function
authormalaterre <malaterre>
Sat, 21 May 2005 02:35:36 +0000 (02:35 +0000)
committermalaterre <malaterre>
Sat, 21 May 2005 02:35:36 +0000 (02:35 +0000)
src/gdcmmpeg2/src/mpeg2dec/getpic.c

index 8cfda605fe43742655375d09429b919a29bbfbd9..2610ad1b33df311d0e6f17875d186a547e07f0f5 100644 (file)
@@ -119,17 +119,16 @@ static void picture_data(framenum)
 int framenum;
 {
   int MBAmax;
-  int ret;
 
   /* number of macroblocks per picture */
   MBAmax = mb_width*mb_height;
 
   if (picture_structure!=FRAME_PICTURE)
-    MBAmax>>=1; /* field picture has half as mnay macroblocks as frame */
+    MBAmax>>=1; /* field picture has half as many macroblocks as frame */
 
   for(;;)
   {
-    if((ret=slice(framenum, MBAmax))<0)
+    if(slice(framenum, MBAmax)<0)
       return;
   }