diff options
Diffstat (limited to 'src/moveuse.cc')
| -rw-r--r-- | src/moveuse.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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){ |
