cleanup: all files are binary unless GetLine()/PutLine() are used
This commit is contained in:
@@ -124,8 +124,6 @@ void RageFileSink::IsolatedInitialize(const NameValuePairs ¶meters)
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user