don't use empty struct initializers

This commit is contained in:
Daniel Eklöf 2020-08-23 07:42:20 +02:00
parent ddef95c297
commit dabdffafa5
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
7 changed files with 27 additions and 27 deletions

View file

@ -36,7 +36,7 @@ static struct {
size_t zero; /* commits presented in less than one frame interval */
size_t one; /* commits presented in one frame interval */
size_t two; /* commits presented in two or more frame intervals */
} presentation_statistics = {};
} presentation_statistics = {0};
static void fdm_hook_refresh_pending_terminals(struct fdm *fdm, void *data);
@ -952,11 +952,11 @@ get_csd_data(const struct terminal *term, enum csd_surface surf_idx)
case CSD_SURF_COUNT:
assert(false);
return (struct csd_data){};
return (struct csd_data){0};
}
assert(false);
return (struct csd_data){};
return (struct csd_data){0};
}
static void