summaryrefslogtreecommitdiff
path: root/src/env
diff options
context:
space:
mode:
Diffstat (limited to 'src/env')
-rw-r--r--src/env/setenv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/env/setenv.c b/src/env/setenv.c
index 0a458968..76e8ee12 100644
--- a/src/env/setenv.c
+++ b/src/env/setenv.c
@@ -26,6 +26,5 @@ int setenv(const char *var, const char *value, int overwrite)
if (!__putenv(s, 1)) return 0;
}
free(s);
- errno = ENOMEM;
return -1;
}