feature #1112: Fix compilation warining in tests

This commit is contained in:
Ruben S. Montero committed 2012-02-10 01:20:08 +01:00
1 parent 2762ed5a62
commit e73ef59fc1
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -231,7 +231,7 @@ public:
{
Group *group_oid, *group_name;
int oid_0;
int uid_0;
//int uid_0;
string name_0;
oid_0 = allocate(0);
@@ -244,7 +244,7 @@ public:
CPPUNIT_ASSERT(group_oid != 0);
name_0 = group_oid->get_name();
uid_0 = group_oid->get_uid();
//uid_0 = group_oid->get_uid();
group_oid->unlock();
+2 -2
View File
@@ -501,7 +501,7 @@ public:
HostPool * hp = static_cast<HostPool *>(pool);
Host *host_oid, *host_name;
int oid_0;
int uid_0;
//int uid_0;
string name_0;
oid_0 = allocate(0);
@@ -514,7 +514,7 @@ public:
CPPUNIT_ASSERT(host_oid != 0);
name_0 = host_oid->get_name();
uid_0 = host_oid->get_uid();
//uid_0 = host_oid->get_uid();
host_oid->unlock();
+2 -2
View File
@@ -380,7 +380,7 @@ public:
{
User *user_oid, *user_name;
int oid_0;
int uid_0;
//int uid_0;
string name_0;
oid_0 = allocate(0);
@@ -393,7 +393,7 @@ public:
CPPUNIT_ASSERT(user_oid != 0);
name_0 = user_oid->get_name();
uid_0 = user_oid->get_uid();
//uid_0 = user_oid->get_uid();
user_oid->unlock();