[sim] Make sure NotifyListener members are initialized

This commit is contained in:
Peter Johnson
2020-09-01 00:08:39 -07:00
parent 05701317b4
commit 148eed3cdc

View File

@@ -31,8 +31,8 @@ struct HalCallbackListener {
explicit operator bool() const { return callback != nullptr; }
CallbackFunction callback;
void* param;
CallbackFunction callback = nullptr;
void* param = nullptr;
};
} // namespace hal