about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--stdlib/setenv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/stdlib/setenv.c b/stdlib/setenv.c
index e244e18331..8de5328b06 100644
--- a/stdlib/setenv.c
+++ b/stdlib/setenv.c
@@ -135,7 +135,6 @@ __add_to_environ (name, value, combined, replace)
 
   if (ep == NULL || __builtin_expect (*ep == NULL, 1))
     {
-      const size_t varlen = namelen + 1 + vallen;
       char **new_environ;
 
       /* We allocated this space; we can extend it.  */