From e3f7ecc6bdf7bbd1ae7ec10c387e15743842db90 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Thu, 10 Aug 2017 21:10:23 +0200 Subject: Fix some issues and improvements found by cppcheck --- src/protocols.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/protocols.cc') diff --git a/src/protocols.cc b/src/protocols.cc index 8d3689c..9598093 100644 --- a/src/protocols.cc +++ b/src/protocols.cc @@ -327,8 +327,6 @@ private: match.reset(); } else if (text) { cache_entry_with_lock(id, size, std::move(match), std::move(text)); - assert(!match); - assert(!text); id = 0; offset = 0; } -- cgit v1.2.3-70-g09d2