Fixed to remove build warning message
authorJungYumin <y_m.jung@samsung.com>
Fri, 28 Jun 2013 05:29:04 +0000 (14:29 +0900)
committerJungYumin <y_m.jung@samsung.com>
Fri, 28 Jun 2013 05:29:04 +0000 (14:29 +0900)
Change-Id: If36b51fe7fac5d13da18890f0326de7ee9ea7b30
Signed-off-by: JungYumin <y_m.jung@samsung.com>
src/FMedia_ExifUtil.cpp
src/FMedia_GifDecoder.cpp
src/FMedia_ImageUtil.cpp

index de56356..f0a7264 100644 (file)
@@ -136,10 +136,6 @@ void _ExifUtil::ForEachEntry(struct _ExifEntry *pEntry)
        const ExifByteOrder o = exif_data_get_byte_order (pEntry->parent->parent);
        ExifRational exifRational;
 
-#if defined (_EXIF_UTIL_LOG_)
-       char value[1024];
-#endif
-
        switch ((int)pEntry->tag)
        {
        case EXIF_TAG_ORIENTATION:
index 762ec24..c6c1a9e 100644 (file)
@@ -107,10 +107,6 @@ _GifDecoder::ConstructBuffer(MediaPixelFormat pixelFormat)
        byte* pPalette = null;
        result r = E_SUCCESS;
        int loopIndex = 0;
-       int xpos = 0;
-       int ypos = 0;
-       int width = 0;
-       int height = 0;
        const byte* pDataPtr = null;
        int dataSize = 0;
 
index 2cc3222..e2b10bb 100644 (file)
@@ -2679,6 +2679,8 @@ _ImageUtil::CropBuffer(const byte* srcBuf,
                        }
                }
                break;
+               default:
+                       r = E_UNSUPPORTED_FORMAT;
        }
 
 CATCH: