fix compiler warnings

This commit is contained in:
2025-01-20 09:41:29 -05:00
parent f545ce5333
commit 37640bf349
9 changed files with 9 additions and 9 deletions

View File

@@ -528,12 +528,11 @@ std::map<int, std::string> startup_button_names_v1 = {
{2, "Preferences"},
};
void replay_action(Element& action) {
static void replay_action(Element& action) {
bool did_something = false, need_redraw = false, need_reprint = false;
std::string _last_action_type = last_action_type;
std::string t = action.Value();
int enum_v;
// NOTE: Action replay blocks need to return early unless the action advances time
if(overall_mode == MODE_STARTUP && t == "startup_button_click"){