Skip to content

Commit

Permalink
Update openzwave-polling.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
mikefranken authored May 12, 2017
1 parent 42dd832 commit 22eee5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/openzwave-polling.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ namespace OZW {

NodeInfo *node;
std::list<OpenZWave::ValueID>::iterator vit;
bool = false;
bool b = false;
if ((node = get_node_info(nodeid))) {
for (vit = node->values.begin(); vit != node->values.end(); ++vit) {
if ((*vit).GetCommandClassId() == comclass) {
Expand All @@ -91,7 +91,7 @@ namespace OZW {
uint8 comclass = info[1]->ToNumber()->Value();
NodeInfo *node;
std::list<OpenZWave::ValueID>::iterator vit;
b = false;
bool b = false;
if ((node = get_node_info(nodeid))) {
for (vit = node->values.begin(); vit != node->values.end(); ++vit) {
if ((*vit).GetCommandClassId() == comclass) {
Expand Down

0 comments on commit 22eee5a

Please sign in to comment.