mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
Merge pull request #12575 from n8pjl/werror-nonnull
IOFile: avoid clearing errors on null file struct
This commit is contained in:
commit
a583526a1c
1 changed files with 2 additions and 1 deletions
|
@ -116,6 +116,7 @@ public:
|
|||
void ClearError()
|
||||
{
|
||||
m_good = true;
|
||||
if (IsOpen())
|
||||
std::clearerr(m_file);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue