Commit ade76b33 authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

gui: remove warnings

parent d6947c1c
Pipeline #34443 passed with stage
in 1 minute and 20 seconds
...@@ -202,7 +202,9 @@ struct constant_source ...@@ -202,7 +202,9 @@ struct constant_source
} }
status start_or_restart() noexcept status start_or_restart() noexcept
{} {
return status::success;
}
status update(source& src) noexcept status update(source& src) noexcept
{ {
......
...@@ -629,8 +629,7 @@ private: ...@@ -629,8 +629,7 @@ private:
return status::io_file_format_error; return status::io_file_format_error;
auto& cst = srcs.constant_sources.alloc(); auto& cst = srcs.constant_sources.alloc();
if (auto ret = cst.init(srcs.block_size); if (auto ret = cst.init(srcs.block_size); is_bad(ret)) {
is_bad(ret)) {
srcs.constant_sources.free(cst); srcs.constant_sources.free(cst);
return ret; return ret;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment