Fixed that warnings that showed up with optimisations.

This commit is contained in:
Scott Anderson 2017-07-11 00:14:55 +12:00
parent be064df25e
commit 8189c64d7f
5 changed files with 15 additions and 11 deletions

View file

@ -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);