summaryrefslogtreecommitdiff
path: root/src/protocols.cc
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-08-10 21:10:23 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-08-10 21:12:52 +0200
commite3f7ecc6bdf7bbd1ae7ec10c387e15743842db90 (patch)
treebbe2e05ec16f4214e02dd9e0904af97998955c63 /src/protocols.cc
parent725cb48b8909588b41c86c680e40b0a7df13e384 (diff)
Fix some issues and improvements found by cppcheck
Diffstat (limited to 'src/protocols.cc')
-rw-r--r--src/protocols.cc2
1 files changed, 0 insertions, 2 deletions
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;
}