diff --git a/std/process.d b/std/process.d index 7e33cb2e32c..726ef77b372 100644 --- a/std/process.d +++ b/std/process.d @@ -308,7 +308,7 @@ static: multi-threaded programs. See e.g. $(LINK2 https://www.gnu.org/software/libc/manual/html_node/Environment-Access.html#Environment-Access, glibc). */ - void remove(scope const(char)[] name) @trusted //nothrow @nogc + void remove(scope const(char)[] name) @trusted { synchronized (mutex.writer) version (Windows) SetEnvironmentVariableW(name.tempCStringW(), null);