Code cleanup. remove unnecessary code 15/237115/1
authorjiyong.min <jiyong.min@samsung.com>
Thu, 25 Jun 2020 05:17:06 +0000 (14:17 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Thu, 25 Jun 2020 05:17:06 +0000 (14:17 +0900)
Change-Id: I79fcd37138d1739e30e2b00f3e7c1166377166fc

magick/mm_util_info.c

index 895150a53d6c2ab7ced8de42228603528e670d9f..6b3041d5ee3558a310fe785c6b742a5fa44ad7eb 100644 (file)
@@ -259,9 +259,6 @@ int mm_util_extract_image_info(const char *path, mm_util_img_codec_type *type, u
 
        ret = __ImgGetImageInfo(hFile, file_size, file_ext, type, width, height);
 
-       if (fseek(hFile, 0, SEEK_SET) < 0)
-               mm_util_stderror("fseek failed");
-
        fclose(hFile);
 
        return ret;