evas: remove warning.

SVN revision: 63728
This commit is contained in:
Cedric BAIL 2011-09-30 15:54:26 +00:00
parent cc71e34616
commit 0d03abde6b
1 changed files with 4 additions and 8 deletions

View File

@ -166,17 +166,16 @@ static const unsigned char App1[] = {0xff, 0xe1};
typedef enum {
EXIF_BYTE_ALIGN_II,
EXIF_BYTE_ALIGN_MM
}ExifByteAlign;
} ExifByteAlign;
static int
_get_orientation(void *map, size_t length)
{
int size;
char *buf;
unsigned char orientation[2];
char orientation[2];
ExifByteAlign byte_align;
int num_directory = 0;
int i, j;
unsigned int num_directory = 0;
unsigned int i, j;
int direction;
/* open file and get 22 byte frome file */
@ -213,9 +212,6 @@ _get_orientation(void *map, size_t length)
if (length < (12 * num_directory + 22)) return 0;
/* we get all info from file, close file first */
j = 0;
for (i = 0; i < num_directory; i++ )