未验证 提交 b5ef315c 编写于 作者: Y Yancey 提交者: GitHub

Fix dist compile error (#8987)

上级 b3d26cd3
...@@ -82,7 +82,7 @@ void SerializeToByteBuffer(const std::string& name, framework::Variable* var, ...@@ -82,7 +82,7 @@ void SerializeToByteBuffer(const std::string& name, framework::Variable* var,
DestroyCallback destroy_callback = [](void* backing) {}; DestroyCallback destroy_callback = [](void* backing) {};
void* buf = malloc(1024); void* buf = malloc(1024);
void* payload; void* payload = nullptr;
size_t payload_size; size_t payload_size;
ProtoEncodeHelper e((char*)buf, 1024); ProtoEncodeHelper e((char*)buf, 1024);
e.WriteString(VarMsg::kVarnameFieldNumber, name); e.WriteString(VarMsg::kVarnameFieldNumber, name);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册