Fix for SVACE and Klocwork issues.
[platform/upstream/iotivity.git] / service / simulator / src / common / attribute_value_generator.h
index e7a6bf1..e55af62 100644 (file)
@@ -41,7 +41,7 @@ class RangeValueGen : public AttributeValueGen
         TYPE m_cur;
 
     public:
-        RangeValueGen(TYPE min, TYPE max) : m_min(min), m_max(max), m_cur(m_min) {}
+        RangeValueGen(TYPE min, TYPE max) : m_min(min), m_max(max), m_cur(min) {}
 
         bool hasNext()
         {