From 99f1b15bd12249169a0fc125fc6daab4f8c4f48b Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 24 Jan 2001 11:19:56 +0000 Subject: [PATCH] * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost declaration of value such that we actually return the value of the environment variable. 2001-01-24 Mark Kettenis * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost declaration of value such that we actually return the value of the environment variable. --- ChangeLog | 6 ++++++ hurd/hurdsig.c | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d2e2e1be5f..6a2a742c70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-01-24 Mark Kettenis + + * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost + declaration of value such that we actually return the value of the + environment variable. + 2001-01-24 Andreas Jaeger * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 80f915be71..3daef1142c 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -1347,7 +1347,6 @@ _hurdsig_getenv (const char *variable) _hurdsig_fault_preemptor.last = VM_MAX_ADDRESS; if (! strncmp (p, variable, len) && p[len] == '=') { - char *value; size_t valuelen; p += len + 1; valuelen = strlen (p);