Fix Coverity issue 28/240428/2
authorseungho <seungho@seungho.tn.corp.samsungelectronics.net>
Thu, 6 Aug 2020 07:55:09 +0000 (16:55 +0900)
committerseungho <seungho@seungho.tn.corp.samsungelectronics.net>
Thu, 6 Aug 2020 07:58:06 +0000 (16:58 +0900)
 - remove untouched code

Change-Id: I683eb29cfb08f17b79aa3b85458b343f18a6a4bd
Signed-off-by: seungho <seungho@seungho.tn.corp.samsungelectronics.net>
dali/internal/imaging/common/gif-loading.cpp

index a6793f2..16057f7 100644 (file)
@@ -494,10 +494,6 @@ bool DecodeImage( GifFileType *gif, uint32_t *data, int rowpix, int xin, int yin
   // what we need is image size.
   SavedImage *sp;
   sp = &gif->SavedImages[ gif->ImageCount - 1 ];
-  if( !sp )
-  {
-    goto on_error;
-  }
 
   gifW = sp->ImageDesc.Width;
   gifH = sp->ImageDesc.Height;