Fix compiler warnings

Note that in Dismiss(), checking for `this` is not necessary (original code was generated by the compiler)
This commit is contained in:
smallmodel 2024-08-24 15:08:42 +02:00
parent c70c578194
commit d64e88451f
No known key found for this signature in database
GPG key ID: A96F163ED4891440
2 changed files with 3 additions and 7 deletions

View file

@ -143,7 +143,7 @@ static ctrlevent_s controlEvents[CTRL_EVENT_COUNT] = {
{'c', &EV_Notepad_Copy },
{'x', &EV_Notepad_Cut },
{'v', &EV_Notepad_Paste },
{NULL, NULL },
{0, NULL },
};
bool UI_LoadNotepadFile(const char *filename)