MinGW: Fix -Wreturn-type

main.cpp:1087:1: error: no return statement in function returning non-void [-Werror=return-type]
 1087 | }
      | ^
This commit is contained in:
João Valverde 2023-01-13 19:28:48 +00:00
parent 6801490aea
commit b94e7f953f
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ typedef struct window_geometry_s {
extern void main_window_update(void);
/* Exit routine provided by UI-specific code. */
extern void exit_application(int status);
WS_NORETURN extern void exit_application(int status);
/* XXX - Yes this isn't the best place, but they are used by file_dlg_win32.c, which is supposed
to be GUI independent, but has lots of GTK leanings. But if you put these in a GTK UI