Skip to content
Snippets Groups Projects
Commit 2fc7cc57 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

default types: fix uninitialized fields

parent 4970a2ae
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,7 @@ public: ...@@ -121,7 +121,7 @@ public:
} }
dht::InfoHash to; dht::InfoHash to;
dht::Value::Id id; dht::Value::Id id {0};
std::string msg; std::string msg;
long date {0}; long date {0};
ImStatus status {ImStatus::NONE}; ImStatus status {ImStatus::NONE};
...@@ -191,7 +191,7 @@ public: ...@@ -191,7 +191,7 @@ public:
ice_data = unpackBlob(o.via.array.ptr[1]); ice_data = unpackBlob(o.via.array.ptr[1]);
} }
Value::Id id; Value::Id id {0};
Blob ice_data; Blob ice_data;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment