aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/util/logging.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/leveldb/util/logging.cc')
-rw-r--r--src/leveldb/util/logging.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/leveldb/util/logging.cc b/src/leveldb/util/logging.cc
index 22cf278512..ca6b324403 100644
--- a/src/leveldb/util/logging.cc
+++ b/src/leveldb/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;