mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
default types: fix uninitialized fields
This commit is contained in:
1 parent
4970a2aee5
commit
2fc7cc57a9
1 file changed
+2
-2
@@ -121,7 +121,7 @@ public:
|
||||
}
|
||||
|
||||
dht::InfoHash to;
|
||||
dht::Value::Id id;
|
||||
dht::Value::Id id {0};
|
||||
std::string msg;
|
||||
long date {0};
|
||||
ImStatus status {ImStatus::NONE};
|
||||
@@ -191,7 +191,7 @@ public:
|
||||
ice_data = unpackBlob(o.via.array.ptr[1]);
|
||||
}
|
||||
|
||||
Value::Id id;
|
||||
Value::Id id {0};
|
||||
Blob ice_data;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user