remove unused argument to function
parent
fac9e4436c
commit
f77413ebb8
|
@ -65,7 +65,7 @@ main2(stringstream &in, const string &basename, bool debug, bool clear_all, bool
|
||||||
|
|
||||||
// Write outputs
|
// Write outputs
|
||||||
if (output_mode != FileOutputType::none)
|
if (output_mode != FileOutputType::none)
|
||||||
mod_file->writeExternalFiles(basename, output_mode, language);
|
mod_file->writeExternalFiles(basename, language);
|
||||||
else
|
else
|
||||||
mod_file->writeOutputFiles(basename, clear_all, clear_global, no_log, no_warn, console, nograph,
|
mod_file->writeOutputFiles(basename, clear_all, clear_global, no_log, no_warn, console, nograph,
|
||||||
nointeractive, config_file, check_model_changes, minimal_workspace, compute_xrefs,
|
nointeractive, config_file, check_model_changes, minimal_workspace, compute_xrefs,
|
||||||
|
|
|
@ -1151,12 +1151,12 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool clear_glo
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ModFile::writeExternalFiles(const string &basename, FileOutputType output, LanguageOutputType language) const
|
ModFile::writeExternalFiles(const string &basename, LanguageOutputType language) const
|
||||||
{
|
{
|
||||||
switch (language)
|
switch (language)
|
||||||
{
|
{
|
||||||
case LanguageOutputType::julia:
|
case LanguageOutputType::julia:
|
||||||
writeExternalFilesJulia(basename, output);
|
writeExternalFilesJulia(basename);
|
||||||
break;
|
break;
|
||||||
case LanguageOutputType::matlab:
|
case LanguageOutputType::matlab:
|
||||||
cerr << "The 'output' option cannot be used when language=matlab" << endl;
|
cerr << "The 'output' option cannot be used when language=matlab" << endl;
|
||||||
|
@ -1165,7 +1165,7 @@ ModFile::writeExternalFiles(const string &basename, FileOutputType output, Langu
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ModFile::writeExternalFilesJulia(const string &basename, FileOutputType output) const
|
ModFile::writeExternalFilesJulia(const string &basename) const
|
||||||
{
|
{
|
||||||
ofstream jlOutputFile;
|
ofstream jlOutputFile;
|
||||||
if (basename.size())
|
if (basename.size())
|
||||||
|
|
|
@ -170,8 +170,8 @@ public:
|
||||||
bool check_model_changes, bool minimal_workspace, bool compute_xrefs,
|
bool check_model_changes, bool minimal_workspace, bool compute_xrefs,
|
||||||
const string &mexext, const filesystem::path &matlabroot,
|
const string &mexext, const filesystem::path &matlabroot,
|
||||||
const filesystem::path &dynareroot, bool onlymodel) const;
|
const filesystem::path &dynareroot, bool onlymodel) const;
|
||||||
void writeExternalFiles(const string &basename, FileOutputType output, LanguageOutputType language) const;
|
void writeExternalFiles(const string &basename, LanguageOutputType language) const;
|
||||||
void writeExternalFilesJulia(const string &basename, FileOutputType output) const;
|
void writeExternalFilesJulia(const string &basename) const;
|
||||||
|
|
||||||
void computeChecksum();
|
void computeChecksum();
|
||||||
//! Write JSON representation of ModFile object
|
//! Write JSON representation of ModFile object
|
||||||
|
|
Loading…
Reference in New Issue