summaryrefslogtreecommitdiff
path: root/tests/Exposed_Policies/RT_Properties.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Exposed_Policies/RT_Properties.cpp')
-rw-r--r--tests/Exposed_Policies/RT_Properties.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/Exposed_Policies/RT_Properties.cpp b/tests/Exposed_Policies/RT_Properties.cpp
index e50ee9913a3..e943914b047 100644
--- a/tests/Exposed_Policies/RT_Properties.cpp
+++ b/tests/Exposed_Policies/RT_Properties.cpp
@@ -7,8 +7,6 @@
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_string.h"
-ACE_RCSID (ExposedPolicies, RT_Properties, "$Id$")
-
RT_Properties::RT_Properties (void)
: priority_ (10)
{
@@ -43,20 +41,28 @@ RT_Properties::read_from (const ACE_TCHAR *file_name)
if (ACE_OS::strcmp (string_field, "Priority") == 0)
{
n_matched = fscanf (fp, "%d", &int_field);
+ ACE_UNUSED_ARG (n_matched);
+
rt_properties->priority (int_field);
}
else if (ACE_OS::strcmp (string_field, "Priority_Bands") == 0)
{
n_matched = fscanf (fp, "%d", &int_field);
+ ACE_UNUSED_ARG (n_matched);
+
rt_properties->priority_bands_.length (int_field);
}
else if (ACE_OS::strcmp (string_field, "Priority_Range") == 0)
{
n_matched = fscanf (fp, "%d", &int_field);
+ ACE_UNUSED_ARG (n_matched);
+
rt_properties->priority_bands_[i].low = int_field;
n_matched = fscanf (fp, "%d", &int_field);
+ ACE_UNUSED_ARG (n_matched);
+
rt_properties->priority_bands_[i].high = int_field;
++i;