Change enabled_count variable from bool to int in nodeLinkClass

The enabled_count member inside nodeLinkClass has a declared bool
datatype, but this variable is used as a counter, where an int data
type is a better choice. This change updates the datatype to int.

Also, there was a misleading-indentation warning in mtcNodeHdlrs.cpp,
which is also fixed in this change.

Change-Id: Ib154c5b6ae2e7068870733b5ee8971e20cedb43f
Story: 2005862
Task: 34163
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
This commit is contained in:
Erich Cordoba 2019-06-17 16:59:27 -05:00
parent 2df0311b29
commit 1292fd8ca0
2 changed files with 5 additions and 5 deletions

View File

@ -362,7 +362,7 @@ private:
bool inservice_failed_subf ;
/** node has reached enabled state this number of times */
bool enabled_count ;
int enabled_count ;
/** Number of OOS tests run so far */
int oos_test_count ;