mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-13 06:43:20 -04:00
e7f9f58fa4
The optionals are unconditionally dereferenced when setting the custom error text, and in a few cases this function is called using the default value of the optionals. This means we'd be dereferencing uninitialized storage. Since they're used unconditionally, we can use value_or to set a default when storage is uninitialized.