mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-11 04:27:49 -05:00
misc: replace all explicit zero-initializers with empty initializers
This commit is contained in:
parent
d67f437458
commit
c96a0b3b3c
5 changed files with 15 additions and 15 deletions
6
render.c
6
render.c
|
|
@ -38,7 +38,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 = {0};
|
||||
} presentation_statistics = {};
|
||||
|
||||
static void fdm_hook_refresh_pending_terminals(struct fdm *fdm, void *data);
|
||||
|
||||
|
|
@ -853,11 +853,11 @@ get_csd_data(const struct terminal *term, enum csd_surface surf_idx)
|
|||
|
||||
case CSD_SURF_COUNT:
|
||||
assert(false);
|
||||
return (struct csd_data){0};
|
||||
return (struct csd_data){};
|
||||
}
|
||||
|
||||
assert(false);
|
||||
return (struct csd_data){0};
|
||||
return (struct csd_data){};
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue