Commit 69d660b3 authored by Feng Xiao's avatar Feng Xiao

Merge pull request #642 from nico/unused

Remove two unused functions.
parents 1647e63c 58b2decb
...@@ -872,13 +872,6 @@ char *FastHex32ToBuffer(uint32 value, char* buffer) { ...@@ -872,13 +872,6 @@ char *FastHex32ToBuffer(uint32 value, char* buffer) {
return InternalFastHexToBuffer(value, buffer, 8); 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() // FastInt32ToBufferLeft()
// FastUInt32ToBufferLeft() // FastUInt32ToBufferLeft()
......
...@@ -54,15 +54,6 @@ namespace google { ...@@ -54,15 +54,6 @@ namespace google {
namespace protobuf { namespace protobuf {
namespace internal { 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( bool UnknownFieldSetFieldSkipper::SkipField(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment