summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index bb7cf77d11..61400c0b17 100644
--- a/hash.c
+++ b/hash.c
@@ -893,7 +893,6 @@ rb_f_getenv(obj, name)
VALUE obj, name;
{
char *nam, *env;
- int len;
StringValue(name);
nam = RSTRING(name)->ptr;
@@ -1105,7 +1104,6 @@ rb_f_setenv(obj, nm, val)
VALUE obj, nm, val;
{
char *name, *value;
- int nlen, vlen;
if (rb_safe_level() >= 4) {
rb_raise(rb_eSecurityError, "cannot change environment variable");