aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Nico Weber <nicolasweber@gmx.de>2015-07-25 19:37:52 -0700
committerGravatar Nico Weber <nicolasweber@gmx.de>2015-07-25 19:37:52 -0700
commit58b2decb7b7b35ddcada65900ade5b132762f10f (patch)
tree6e7c6e696dfac5ac03b3e59ad4691e03b3e9be8b /src
parent1647e63c57e2c2216da648e967686649e42a6346 (diff)
Remove two unused functions.
Diffstat (limited to 'src')
-rw-r--r--src/google/protobuf/stubs/strutil.cc7
-rw-r--r--src/google/protobuf/wire_format.cc9
2 files changed, 0 insertions, 16 deletions
diff --git a/src/google/protobuf/stubs/strutil.cc b/src/google/protobuf/stubs/strutil.cc
index 2ec62b42..8442f2ce 100644
--- a/src/google/protobuf/stubs/strutil.cc
+++ b/src/google/protobuf/stubs/strutil.cc
@@ -872,13 +872,6 @@ char *FastHex32ToBuffer(uint32 value, char* buffer) {
return InternalFastHexToBuffer(value, buffer, 8);
}
-static inline char* PlaceNum(char* p, int num, char prev_sep) {
- *p-- = '0' + num % 10;
- *p-- = '0' + num / 10;
- *p-- = prev_sep;
- return p;
-}
-
// ----------------------------------------------------------------------
// FastInt32ToBufferLeft()
// FastUInt32ToBufferLeft()
diff --git a/src/google/protobuf/wire_format.cc b/src/google/protobuf/wire_format.cc
index 54cd653a..c5db963b 100644
--- a/src/google/protobuf/wire_format.cc
+++ b/src/google/protobuf/wire_format.cc
@@ -54,15 +54,6 @@ namespace google {
namespace protobuf {
namespace internal {
-namespace {
-
-// This function turns out to be convenient when using some macros later.
-inline int GetEnumNumber(const EnumValueDescriptor* descriptor) {
- return descriptor->number();
-}
-
-} // anonymous namespace
-
// ===================================================================
bool UnknownFieldSetFieldSkipper::SkipField(