summaryrefslogtreecommitdiffstats
path: root/Sluift
diff options
context:
space:
mode:
Diffstat (limited to 'Sluift')
-rw-r--r--Sluift/SluiftClient.h4
-rw-r--r--Sluift/SluiftComponent.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Sluift/SluiftClient.h b/Sluift/SluiftClient.h
index 1b0dd43..2c221e6 100644
--- a/Sluift/SluiftClient.h
+++ b/Sluift/SluiftClient.h
@@ -123,10 +123,10 @@ namespace Swift {
Client* client;
ClientOptions options;
ClientXMLTracer* tracer;
- bool rosterReceived;
+ bool rosterReceived = false;
std::deque<Event> pendingEvents;
boost::optional<ClientError> disconnectedError;
- bool requestResponseReceived;
+ bool requestResponseReceived = false;
std::shared_ptr<Payload> requestResponse;
std::shared_ptr<ErrorPayload> requestError;
};
diff --git a/Sluift/SluiftComponent.h b/Sluift/SluiftComponent.h
index 675d6c0..d45c3b2 100644
--- a/Sluift/SluiftComponent.h
+++ b/Sluift/SluiftComponent.h
@@ -102,7 +102,7 @@ namespace Swift {
ComponentXMLTracer* tracer;
std::deque<Event> pendingEvents;
boost::optional<ComponentError> disconnectedError;
- bool requestResponseReceived;
+ bool requestResponseReceived = false;
std::shared_ptr<Payload> requestResponse;
std::shared_ptr<ErrorPayload> requestError;
};