summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/replace/test/testsuite.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/source4/lib/replace/test/testsuite.c b/source4/lib/replace/test/testsuite.c
index 44c218270c..5ed6b3e7a5 100644
--- a/source4/lib/replace/test/testsuite.c
+++ b/source4/lib/replace/test/testsuite.c
@@ -200,16 +200,8 @@ static int test_setenv(void)
} while(0)
#define TEST_UNSETENV(key) do { \
- int _ret; \
char *_v; \
- _ret = unsetenv(key); \
- if (_ret != 0) { \
- printf("failure: setenv [\n" \
- "unsetenv(%s) failed\n" \
- "]\n", \
- key); \
- return false; \
- } \
+ unsetenv(key); \
_v=getenv(key); \
if (_v) { \
printf("failure: setenv [\n" \