Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
69d660b3
Commit
69d660b3
authored
9 years ago
by
Feng Xiao
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #642 from nico/unused
Remove two unused functions.
parents
1647e63c
58b2decb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
strutil.cc
src/google/protobuf/stubs/strutil.cc
+0
-7
wire_format.cc
src/google/protobuf/wire_format.cc
+0
-9
No files found.
src/google/protobuf/stubs/strutil.cc
View file @
69d660b3
...
...
@@ -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()
...
...
This diff is collapsed.
Click to expand it.
src/google/protobuf/wire_format.cc
View file @
69d660b3
...
...
@@ -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
(
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment