提交 6488e9f0 编写于 作者: Y yuetan

graphics: fixed codestyle check bugs

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