cleanup: all files are binary unless GetLine()/PutLine() are used

This commit is contained in:
Glenn Maynard
2004-06-06 23:21:43 +00:00
parent b148baa657
commit 32f6d7e7fc
-2
View File
@@ -124,8 +124,6 @@ void RageFileSink::IsolatedInitialize(const NameValuePairs &parameters)
const char *fileName;
if (parameters.GetValue("OutputFileName", fileName))
{
// does this do anything other than cause g++ to emit a warning?
ios::openmode binary = parameters.GetValueWithDefault("OutputBinaryMode", true) ? ios::binary : ios::openmode(0);
if( !m_file.Open( fileName, RageFile::WRITE ) ) // trucates existing data
throw OpenErr(fileName);
}