mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-19 13:13:16 +01:00
Avoid NULL/0 conversion warning.
This commit is contained in:
@@ -114,7 +114,7 @@ int execute(ls::Path exePath, const char** args)
|
||||
{
|
||||
std::string errorMsg;
|
||||
int rc = ls::Program::ExecuteAndWait(exePath, args, NULL, NULL,
|
||||
NULL, NULL, &errorMsg);
|
||||
0, 0, &errorMsg);
|
||||
if (!errorMsg.empty())
|
||||
{
|
||||
error("Could not execute %s: %s", exePath.c_str(), errorMsg.c_str());
|
||||
|
||||
Reference in New Issue
Block a user