summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2012-01-15 09:57:20 +0000
committerTom Hacohen <tom@stosb.com>2012-01-15 09:57:20 +0000
commit43837ce1ea3fac80713ada38d1cfce4712f3aff3 (patch)
tree69c9ce289825a3c7f51e00c1a5312f4b002553b7
parentaacd65b94729184b04fd793745112620d8db69d5 (diff)
downloadeet-43837ce1ea3fac80713ada38d1cfce4712f3aff3.tar.gz
Eet tests: Fixed shadow warnings.
SVN revision: 67224
-rw-r--r--src/tests/eet_suite.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/tests/eet_suite.c b/src/tests/eet_suite.c
index 5230c86..43b1e3a 100644
--- a/src/tests/eet_suite.c
+++ b/src/tests/eet_suite.c
@@ -211,21 +211,21 @@ _eet_test_basic_check(Eet_Test_Basic_Type *result,
fail_if(result->empty != NULL);
if (i == 0)
{
- Eet_Test_Basic_Type *tmp;
-
- tmp = result->with;
- fail_if(tmp == NULL);
-
- fail_if(tmp->c != EET_TEST_CHAR);
- fail_if(tmp->s != EET_TEST_SHORT);
- fail_if(tmp->i != EET_TEST_INT + i + 1);
- fail_if(tmp->l != (long long)EET_TEST_LONG_LONG);
- fail_if(strcmp(tmp->str, EET_TEST_STRING) != 0);
- fail_if(strcmp(tmp->istr, EET_TEST_STRING) != 0);
- fail_if(tmp->uc != EET_TEST_CHAR);
- fail_if(tmp->us != EET_TEST_SHORT);
- fail_if(tmp->ui != EET_TEST_INT);
- fail_if(tmp->ul != EET_TEST_LONG_LONG);
+ Eet_Test_Basic_Type *tmp2;
+
+ tmp2 = result->with;
+ fail_if(tmp2 == NULL);
+
+ fail_if(tmp2->c != EET_TEST_CHAR);
+ fail_if(tmp2->s != EET_TEST_SHORT);
+ fail_if(tmp2->i != EET_TEST_INT + i + 1);
+ fail_if(tmp2->l != (long long)EET_TEST_LONG_LONG);
+ fail_if(strcmp(tmp2->str, EET_TEST_STRING) != 0);
+ fail_if(strcmp(tmp2->istr, EET_TEST_STRING) != 0);
+ fail_if(tmp2->uc != EET_TEST_CHAR);
+ fail_if(tmp2->us != EET_TEST_SHORT);
+ fail_if(tmp2->ui != EET_TEST_INT);
+ fail_if(tmp2->ul != EET_TEST_LONG_LONG);
}
else
fail_if(result->with != NULL);