mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
Fixed that warnings that showed up with optimisations.
This commit is contained in:
parent
be064df25e
commit
8189c64d7f
5 changed files with 15 additions and 11 deletions
|
|
@ -192,7 +192,7 @@ static void parse_args(int argc, char *argv[], struct wl_list *config) {
|
|||
}
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
struct sample_state state = { 0 };
|
||||
struct sample_state state = {0};
|
||||
wl_list_init(&state.config);
|
||||
parse_args(argc, argv, &state.config);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue