Skip to content

Commit 44fd52d

Browse files
committed
CL preprocessing: cleanup unused temporary file and string
We previously placed the command in a string, but now accomplish the same via a call to run().
1 parent 77a0496 commit 44fd52d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/ansi-c/c_preprocess.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,6 @@ bool c_preprocess_visual_studio(
378378
command_file << shell_quote(file) << "\n";
379379
}
380380

381-
temporary_filet tmpi("tmp.cl", "");
382-
383-
std::string command = "CL @\"" + command_file_name() + "\"";
384-
command += " 2> \"" + stderr_file() + "\"";
385-
386381
// _popen isn't very reliable on WIN32
387382
// that's why we use run()
388383
int result =

0 commit comments

Comments
 (0)