summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2014-02-11 12:43:33 +0100
committerOndřej Bílka <neleai@seznam.cz>2014-02-11 12:43:49 +0100
commit83a3406e0f1dd92cd6c7c2a668c5cec2fe1a0cc6 (patch)
treeb1324416e54fa8bdb6eb9c8681b601160796204f /stdlib
parent75eff3fe90f96783f31f58fa84af1b77e57d1ae4 (diff)
downloadglibc-83a3406e0f1dd92cd6c7c2a668c5cec2fe1a0cc6.tar.gz
glibc-83a3406e0f1dd92cd6c7c2a668c5cec2fe1a0cc6.tar.xz
glibc-83a3406e0f1dd92cd6c7c2a668c5cec2fe1a0cc6.zip
Remove unused variable from stdlib/setenv.c
Diffstat (limited to 'stdlib')
-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.  */