put some unused / commented code into ifdef to shut up gcc warnings.

This commit is contained in:
riccardom 2009-05-19 20:07:47 +00:00
parent 4e41817906
commit 3edf67ae85
1 changed files with 5 additions and 3 deletions

View File

@ -543,9 +543,11 @@ bool BackupDevice::load_state(std::istream* is)
int version;
if(read32le(&version,is)!=1) return false;
if(version==0) {
#if 0
u32 size, type;
// read32le(&size,is);
// read32le(&type,is);
read32le(&size,is);
read32le(&type,is);
#endif
read32le(&write_enable,is);
read32le(&com,is);
read32le(&addr_size,is);
@ -870,4 +872,4 @@ void BackupDevice::flush()
{
LOG("Unable to open savefile %s\n",filename.c_str());
}
}
}