delete unused variable
This commit is contained in:
parent
01283faa47
commit
a35f979c17
2 changed files with 0 additions and 4 deletions
|
@ -226,8 +226,6 @@ struct PointerStringPairHash {
|
|||
}
|
||||
|
||||
// Used only by MSVC and platforms where hash_map is not available.
|
||||
static const size_t bucket_size = 4;
|
||||
static const size_t min_buckets = 8;
|
||||
inline bool operator()(const PointerStringPair& a,
|
||||
const PointerStringPair& b) const {
|
||||
if (a.first < b.first) return true;
|
||||
|
|
|
@ -749,8 +749,6 @@ void DynamicMessageFactory::DeleteDefaultOneofInstance(
|
|||
for (int i = 0; i < type->oneof_decl_count(); i++) {
|
||||
for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) {
|
||||
const FieldDescriptor* field = type->oneof_decl(i)->field(j);
|
||||
void* field_ptr = reinterpret_cast<uint8*>(
|
||||
default_oneof_instance) + offsets[field->index()];
|
||||
if (field->cpp_type() == FieldDescriptor::CPPTYPE_STRING) {
|
||||
switch (field->options().ctype()) {
|
||||
default:
|
||||
|
|
Loading…
Add table
Reference in a new issue