fix return type

This commit is contained in:
Jindřich Makovička 2012-05-12 18:13:29 +02:00
parent 12ba0133dd
commit 3e30403745

View file

@ -484,10 +484,10 @@ MapDataObject* readMapDataObject(CodedInputStream* input, MapTreeBounds* tree, S
break; break;
default: { default: {
if (WireFormatLite::GetTagWireType(t) == WireFormatLite::WIRETYPE_END_GROUP) { if (WireFormatLite::GetTagWireType(t) == WireFormatLite::WIRETYPE_END_GROUP) {
return false; return NULL;
} }
if (!skipUnknownFields(input, t)) { if (!skipUnknownFields(input, t)) {
return false; return NULL;
} }
break; break;
} }