Avoid a possibly uninitialized var.

This commit is contained in:
Unknown W. Brackets
2013-07-26 22:50:56 -07:00
parent 6ffaf98d7f
commit d9d66c46e9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -641,7 +641,7 @@ void ISOFileSystem::DoState(PointerWrap &p)
p.Do(of.sectorStart);
p.Do(of.openSize);
bool hasFile;
bool hasFile = false;
p.Do(hasFile);
if (hasFile) {
std::string path;