From: David Elliott Date: Wed, 8 Aug 2007 01:37:06 +0000 (+0000) Subject: Return true in wxSetEnv for unsetenv case. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/022a8d02841456eb5a7deb2014cfc9201562d9f5 Return true in wxSetEnv for unsetenv case. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index 83f9195503..429cf3e2f3 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -1104,7 +1104,7 @@ static bool wxDoSetEnv(const wxString& variable, const char *value) // don't test unsetenv() return value: it's void on some systems (at // least Darwin) unsetenv(variable.mb_str()); - return; + return true; #else value = ""; // we can't pass NULL to setenv() #endif