From 4f03a5c64e2b4367be6427b4fffa7f3c0b1f14bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Sun, 14 Apr 2019 09:15:16 -0400
Subject: [PATCH] network: tid, socket_id, value_id: default to 0

---
 src/parsed_message.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/parsed_message.h b/src/parsed_message.h
index 6b568f55..da3da953 100644
--- a/src/parsed_message.h
+++ b/src/parsed_message.h
@@ -84,13 +84,13 @@ struct ParsedMessage {
     /* target id around which to find nodes */
     InfoHash target;
     /* transaction id */
-    Tid tid;
+    Tid tid {0};
     /* tid for packets going through request socket */
-    Tid socket_id;
+    Tid socket_id {0};
     /* security token */
     Blob token;
     /* the value id (announce confirmation) */
-    Value::Id value_id;
+    Value::Id value_id {0};
     /* time when value was first created */
     time_point created { time_point::max() };
     /* IPv4 nodes in response to a 'find' request */
-- 
GitLab