diff options
Diffstat (limited to 'zencore/thread.cpp')
| -rw-r--r-- | zencore/thread.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zencore/thread.cpp b/zencore/thread.cpp index 846dcc67a..c6c2527ef 100644 --- a/zencore/thread.cpp +++ b/zencore/thread.cpp @@ -890,7 +890,8 @@ CreateProcResult CreateProc( { if (Options.WorkingDirectory != nullptr) { - chdir(Options.WorkingDirectory->c_str()); + int Result = chdir(Options.WorkingDirectory->c_str()); + ZEN_UNUSED(Result); } if (execv(Executable.c_str(), ArgV.data()) < 0) |