Evas: Fix shadow declaration of 'i' variable.
SVN revision: 59716
This commit is contained in:
parent
9b649530bd
commit
9c9ebcba16
|
@ -86,7 +86,7 @@ main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
Op_Getinfo_Reply *info;
|
Op_Getinfo_Reply *info;
|
||||||
unsigned char *p;
|
unsigned char *p;
|
||||||
int i, j;
|
int h, j;
|
||||||
|
|
||||||
info = evas_cserve_raw_info_get();
|
info = evas_cserve_raw_info_get();
|
||||||
if (!info)
|
if (!info)
|
||||||
|
@ -102,7 +102,7 @@ main(int argc, char **argv)
|
||||||
printf("cache_memory: %i Kb\n", info->cached.mem_total);
|
printf("cache_memory: %i Kb\n", info->cached.mem_total);
|
||||||
p = (unsigned char *)info;
|
p = (unsigned char *)info;
|
||||||
p += sizeof(Op_Getinfo_Reply);
|
p += sizeof(Op_Getinfo_Reply);
|
||||||
for (i = 0; i < j; i++)
|
for (h = 0; h < j; h++)
|
||||||
{
|
{
|
||||||
Op_Getinfo_Item it;
|
Op_Getinfo_Item it;
|
||||||
char *file, *key, buf[512];
|
char *file, *key, buf[512];
|
||||||
|
@ -111,7 +111,7 @@ main(int argc, char **argv)
|
||||||
memcpy(&it, p, sizeof(Op_Getinfo_Item));
|
memcpy(&it, p, sizeof(Op_Getinfo_Item));
|
||||||
file = (char*) (p + sizeof(Op_Getinfo_Item));
|
file = (char*) (p + sizeof(Op_Getinfo_Item));
|
||||||
key = file + strlen(file) + 1;
|
key = file + strlen(file) + 1;
|
||||||
printf("-IMAGE- [#%i]\n", i);
|
printf("-IMAGE- [#%i]\n", h);
|
||||||
printf(" file : %s\n", file);
|
printf(" file : %s\n", file);
|
||||||
printf(" key : %s\n", key);
|
printf(" key : %s\n", key);
|
||||||
printf(" size : %i x %i\n", it.w, it.h);
|
printf(" size : %i x %i\n", it.w, it.h);
|
||||||
|
|
Loading…
Reference in New Issue