Skip to content
Snippets Groups Projects
Commit 656a5158 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Preprocessor: removed spurious warnings

parent c33d6fb1
Branches
Tags
No related merge requests found
...@@ -300,10 +300,14 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all ...@@ -300,10 +300,14 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all
// Erase possible remnants of previous runs // Erase possible remnants of previous runs
if (block || byte_code) if (block || byte_code)
mOutputFile << "delete('" << basename << "_dynamic.m');" << endl; mOutputFile << "if exist('" << basename << "_dynamic.m', 'file')" << endl
<< " delete('" << basename << "_dynamic.m');" << endl
<< "end" << endl;
if (byte_code) if (byte_code)
mOutputFile << "delete('" << basename << "_static.m');" << endl; mOutputFile << "if exist('" << basename << "_static.m', 'file')" << endl
<< " delete('" << basename << "_static.m');" << endl
<< "end" << endl;
if (!use_dll) if (!use_dll)
mOutputFile << "erase_compiled_function('" + basename + "_dynamic');" << endl; mOutputFile << "erase_compiled_function('" + basename + "_dynamic');" << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment