提交 603847b8 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!84 graphics: fixed codestyle check bugs

Merge pull request !84 from yuetan/master
...@@ -32,7 +32,7 @@ int parse_string_from_message(sd_bus_message *m, std::string &str) { ...@@ -32,7 +32,7 @@ int parse_string_from_message(sd_bus_message *m, std::string &str) {
if (r < 0) if (r < 0)
return r; return r;
const char *value; const char *value = nullptr;
r = sd_bus_message_read(m, "s", &value); r = sd_bus_message_read(m, "s", &value);
if (r < 0) if (r < 0)
return r; return r;
......
...@@ -62,7 +62,7 @@ intptr_t RenderThread::main() { ...@@ -62,7 +62,7 @@ intptr_t RenderThread::main() {
if (stat <= 0) if (stat <= 0)
break; break;
bool progress; bool progress = false;
do { do {
progress = false; progress = false;
......
...@@ -87,6 +87,7 @@ class ColorBufferHelper : public ColorBuffer::Helper { ...@@ -87,6 +87,7 @@ class ColorBufferHelper : public ColorBuffer::Helper {
virtual TextureDraw *getTextureDraw() const { return mFb->getTextureDraw(); } virtual TextureDraw *getTextureDraw() const { return mFb->getTextureDraw(); }
~ColorBufferHelper() {}
private: private:
Renderer *mFb; Renderer *mFb;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册