chore: include a default branch in proto switch
@@ -223,6 +223,8 @@ bool ParseTextProtoHandler::ParseMsg(const clang::CXXRecordDecl& MsgDecl,
case Tokenizer::TYPE_END:
LOG(FATAL) << "cannot happen";
break;
+ default:
+ break;
}
}
return true;
@@ -274,6 +276,8 @@ bool ParseTextProtoHandler::ParseFieldValue(
case Tokenizer::TYPE_END:
LOG(FATAL) << "cannot happen";
break;
+ default:
+ break;
}
return true;
}
