diff options
author | pommicket <pommicket@gmail.com> | 2022-07-22 14:59:24 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-07-22 14:59:24 -0400 |
commit | 0b58ebbea977f34c5192ae6f0caec31f66749e9e (patch) | |
tree | 68500ee18d86ba17390adac951a1ac9d98d311a5 /ui.c | |
parent | 35b1b0129e8791a9412173acf3756606d0cc397d (diff) |
fixed some compiler warnings
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -588,7 +588,7 @@ static void popup_get_rects(Ted const *ted, u32 options, Rect *popup, Rect *butt } static PopupOption popup_update(Ted *ted, u32 options) { - Rect r, button_yes, button_no, button_cancel; + Rect r = {0}, button_yes = {0}, button_no = {0}, button_cancel = {0}; popup_get_rects(ted, options, &r, &button_yes, &button_no, &button_cancel); if (button_update(ted, button_yes)) return POPUP_YES; |