From 6384fe28db241e1a112d7da1f8d4b8fdc5c60346 Mon Sep 17 00:00:00 2001
From: Niels Lohmann <mail@nlohmann.me>
Date: Fri, 26 Oct 2018 23:12:41 +0200
Subject: [PATCH] :rotating_light: fixed another linter warning

---
 include/nlohmann/detail/output/binary_writer.hpp | 1 -
 single_include/nlohmann/json.hpp                 | 1 -
 2 files changed, 2 deletions(-)

diff --git a/include/nlohmann/detail/output/binary_writer.hpp b/include/nlohmann/detail/output/binary_writer.hpp
index 27833ab6..7c0e6939 100644
--- a/include/nlohmann/detail/output/binary_writer.hpp
+++ b/include/nlohmann/detail/output/binary_writer.hpp
@@ -56,7 +56,6 @@ class binary_writer
             default:
             {
                 JSON_THROW(type_error::create(317, "to serialize to BSON, top-level type must be object, but is " + std::string(j.type_name())));
-                break;
             }
         }
     }
diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp
index 9b2636ad..79f74e4c 100644
--- a/single_include/nlohmann/json.hpp
+++ b/single_include/nlohmann/json.hpp
@@ -8336,7 +8336,6 @@ class binary_writer
             default:
             {
                 JSON_THROW(type_error::create(317, "to serialize to BSON, top-level type must be object, but is " + std::string(j.type_name())));
-                break;
             }
         }
     }