From 51c2b7f62d21de0e39982ff8e1878d31b064bb18 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Mon, 23 Dec 2019 04:24:51 +0100
Subject: [PATCH] Remove unreachable code

---
 lib/structs/events/collections.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/structs/events/collections.cpp b/lib/structs/events/collections.cpp
index 55b88556b..84ae5d6db 100644
--- a/lib/structs/events/collections.cpp
+++ b/lib/structs/events/collections.cpp
@@ -88,9 +88,6 @@ from_json(const json &obj, TimelineEvent &e)
                                           << obj.dump(2) << '\n';
                                 return;
                         }
-
-                        std::cout << "Invalid event type: " << obj.dump(2) << '\n';
-                        break;
                 }
 
                 switch (msg_type) {
-- 
GitLab