From a5743e7bdf3c199ebb8dd72d2ebdc5682799b995 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Wed, 8 Aug 2007 01:38:08 +0000 Subject: [PATCH] Merged 47946 from trunk: Return true in unsetenv case. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/utilsunx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index 37b70cfbb2..021e909053 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -1066,7 +1066,7 @@ bool wxSetEnv(const wxString& variable, const wxChar *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 = _T(""); // we can't pass NULL to setenv() #endif