missing 'else'

doesn't actually change logic flow, but wasn't intentional.
This commit is contained in:
Michael Davidsaver
2019-05-08 10:02:05 -07:00
parent 3ed88f2559
commit 5170c2230d

View File

@ -145,7 +145,7 @@ void PDBSinglePV::addMonitor(PDBSingleMonitor* mon)
db_post_single_event(evt_VALUE.subscript);
db_post_single_event(evt_PROPERTY.subscript);
} if(hadevent_VALUE && hadevent_PROPERTY) {
} else if(hadevent_VALUE && hadevent_PROPERTY) {
// new subscriber and already had initial update
mon->post(G);
} // else new subscriber, but no initial update. so just wait