Commit 6630f2ac authored by Marius Vlad's avatar Marius Vlad

shared/: Please compiler when passed certain compile flags

Fixes the following warn/error when using combination of flags like
building with debug, when disabling optimization and/or when enabling ASAN:

../shared/option-parser.c:61:1: error: control reaches end of non-void function [-Werror=return-type]
Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
parent bed9b81a
Pipeline #54409 passed with stages
in 1 minute and 48 seconds
......@@ -57,6 +57,7 @@ handle_option(const struct weston_option *option, char *value)
return true;
default:
assert(0);
return false;
}
}
......
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