Remove unused Offset function (#10120)
This fails to build with -Werror.
This commit is contained in:
parent
af699898d2
commit
85225b83c3
@ -340,11 +340,6 @@ const char* TcParser::MiniParse(PROTOBUF_TC_PARAM_DECL) {
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
// Offset returns the address `offset` bytes after `base`.
|
|
||||||
inline void* Offset(void* base, uint32_t offset) {
|
|
||||||
return static_cast<uint8_t*>(base) + offset;
|
|
||||||
}
|
|
||||||
|
|
||||||
// InvertPacked changes tag bits from the given wire type to length
|
// InvertPacked changes tag bits from the given wire type to length
|
||||||
// delimited. This is the difference expected between packed and non-packed
|
// delimited. This is the difference expected between packed and non-packed
|
||||||
// repeated fields.
|
// repeated fields.
|
||||||
|
Loading…
Reference in New Issue
Block a user