summaryrefslogtreecommitdiff
path: root/util/logging.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/logging.cc')
-rw-r--r--util/logging.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/util/logging.cc b/util/logging.cc
index 22cf278..ca6b324 100644
--- a/util/logging.cc
+++ b/util/logging.cc
@@ -45,15 +45,6 @@ std::string EscapeString(const Slice& value) {
return r;
}
-bool ConsumeChar(Slice* in, char c) {
- if (!in->empty() && (*in)[0] == c) {
- in->remove_prefix(1);
- return true;
- } else {
- return false;
- }
-}
-
bool ConsumeDecimalNumber(Slice* in, uint64_t* val) {
uint64_t v = 0;
int digits = 0;