diff options
| author | Loic Blot <loic.blot@unix-experience.fr> | 2015-04-05 11:13:30 +0200 |
|---|---|---|
| committer | Loic Blot <loic.blot@unix-experience.fr> | 2015-04-05 11:13:30 +0200 |
| commit | 4235f671c1db54972d288d5be952a748a7563080 (patch) | |
| tree | 7cc0f27b85fd585c4fac33ad2d4a920057c881aa /src/network | |
| parent | 334e70455b7f8a4607fe99dc12710d48169113a6 (diff) | |
| download | dragonfireclient-4235f671c1db54972d288d5be952a748a7563080.tar.xz | |
Fix uninitialized variabled in ConnectionEvent
Diffstat (limited to 'src/network')
| -rw-r--r-- | src/network/connection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/connection.h b/src/network/connection.h index f60c66257..556a40a12 100644 --- a/src/network/connection.h +++ b/src/network/connection.h @@ -865,7 +865,8 @@ struct ConnectionEvent bool timeout; Address address; - ConnectionEvent(): type(CONNEVENT_NONE) {} + ConnectionEvent(): type(CONNEVENT_NONE), peer_id(0), + timeout(false) {} std::string describe() { |
