From: malaterre Date: Sat, 21 May 2005 02:35:36 +0000 (+0000) Subject: COMP: Remove ret this is never use in the function X-Git-Tag: Version1.2.bp~698 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=910e35c51c25f53b00f7d1a126ae51a71474d0ab;p=gdcm.git COMP: Remove ret this is never use in the function --- diff --git a/src/gdcmmpeg2/src/mpeg2dec/getpic.c b/src/gdcmmpeg2/src/mpeg2dec/getpic.c index 8cfda605..2610ad1b 100644 --- a/src/gdcmmpeg2/src/mpeg2dec/getpic.c +++ b/src/gdcmmpeg2/src/mpeg2dec/getpic.c @@ -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; }