Remove unused Offset function (#10120)

This fails to build with -Werror.
pull/10135/head
Marc Plano-Lesay 2 years ago committed by GitHub
parent af699898d2
commit 85225b83c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/google/protobuf/generated_message_tctable_lite.cc

@ -340,11 +340,6 @@ const char* TcParser::MiniParse(PROTOBUF_TC_PARAM_DECL) {
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
// delimited. This is the difference expected between packed and non-packed
// repeated fields.

Loading…
Cancel
Save