1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

feature #1112: Fix compilation warining in tests

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

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();

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();

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();