Skip to content

Commit 215e79c

Browse files
committed
Remove test that is trivially false
get_temporary_directory fails with an exception in case of problems.
1 parent 4a49665 commit 215e79c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/goto-cc/compile.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,6 @@ bool compilet::add_files_from_archive(
228228
{
229229
tstr = get_temporary_directory("goto-cc.XXXXXX");
230230

231-
if(tstr=="")
232-
{
233-
error() << "Cannot create temporary directory" << eom;
234-
return true;
235-
}
236-
237231
tmp_dirs.push_back(tstr);
238232
set_current_path(tmp_dirs.back());
239233

0 commit comments

Comments
 (0)