summaryrefslogtreecommitdiff
path: root/src/lib/embryo
diff options
context:
space:
mode:
authorMike McCormack <mikem@atratus.org>2012-11-19 13:10:14 +0000
committerMike McCormack <mikem@ring3k.org>2012-11-19 13:10:14 +0000
commitc1672ed8cfcc1fcaa665412c99173b57dd551bd3 (patch)
treeed94c4837098e036bbfd9ee1566bfdc5589698aa /src/lib/embryo
parent4081a3450d19d816bec6a14e54d1becda2390e36 (diff)
downloadefl-c1672ed8cfcc1fcaa665412c99173b57dd551bd3.tar.gz
efl: Fix more shadow warnings
Signed-off-by: Mike McCormack <mikem@atratus.org> SVN revision: 79447
Diffstat (limited to 'src/lib/embryo')
-rw-r--r--src/lib/embryo/embryo_amx.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/embryo/embryo_amx.c b/src/lib/embryo/embryo_amx.c
index d4afb508a7..d2882a0aee 100644
--- a/src/lib/embryo/embryo_amx.c
+++ b/src/lib/embryo/embryo_amx.c
@@ -1040,13 +1040,13 @@ embryo_program_run(Embryo_Program *ep, Embryo_Function fn)
if (fn != EMBRYO_FUNCTION_CONT)
{
- int i;
+ int j;
- for (i = ep->params_size - 1; i >= 0; i--)
+ for (j = ep->params_size - 1; j >= 0; j--)
{
Embryo_Param *pr;
- pr = &(ep->params[i]);
+ pr = &(ep->params[j]);
if (pr->string)
{
int len;
@@ -1788,22 +1788,22 @@ embryo_program_run(Embryo_Program *ep, Embryo_Function fn)
return EMBRYO_PROGRAM_SLEEP;
}
{
- Embryo_Header *hdr;
- int i, num;
+ Embryo_Header *hdr2;
+ int j, num2;
Embryo_Func_Stub *func_entry;
- hdr = (Embryo_Header *)ep->code;
- num = NUMENTRIES(hdr, natives, libraries);
- func_entry = GETENTRY(hdr, natives, 0);
- for (i = 0; i < num; i++)
+ hdr2 = (Embryo_Header *)ep->code;
+ num2 = NUMENTRIES(hdr2, natives, libraries);
+ func_entry = GETENTRY(hdr2, natives, 0);
+ for (j = 0; j < num2; j++)
{
char *entry_name;
- entry_name = GETENTRYNAME(hdr, func_entry);
- if (i == offs)
- printf("EMBRYO: CALL [%i] %s() non-existent!\n", i, entry_name);
+ entry_name = GETENTRYNAME(hdr2, func_entry);
+ if (j == offs)
+ printf("EMBRYO: CALL [%i] %s() non-existent!\n", j, entry_name);
func_entry =
- (Embryo_Func_Stub *)((unsigned char *)func_entry + hdr->defsize);
+ (Embryo_Func_Stub *)((unsigned char *)func_entry + hdr2->defsize);
}
}
ABORT(ep, num);