From 8082c228c5d618e6f865f76b4d0518c2fde573ec Mon Sep 17 00:00:00 2001 From: fusion32 Date: Fri, 15 Aug 2025 15:48:19 -0300 Subject: wrapping up for a public release --- src/moveuse.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/moveuse.cc') diff --git a/src/moveuse.cc b/src/moveuse.cc index e4d76db..396207d 100644 --- a/src/moveuse.cc +++ b/src/moveuse.cc @@ -2977,7 +2977,9 @@ void LoadDataBase(void){ continue; } - int EventType; + // NOTE(fusion): `TReadScriptFile::error` will always throw but the + // compiler might not be able to detect that and issue a warning. + int EventType = 0; if(strcmp(Identifier, "use") == 0){ EventType = MOVEUSE_EVENT_USE; }else if(strcmp(Identifier, "multiuse") == 0){ -- cgit v1.2.3