about summary refs log tree commit diff
path: root/hurd/hurdsig.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-01-24 11:19:56 +0000
committerMark Kettenis <kettenis@gnu.org>2001-01-24 11:19:56 +0000
commit99f1b15bd12249169a0fc125fc6daab4f8c4f48b (patch)
treef42be7a87808b2d28fb6d1a3cdedf17ecb9cb748 /hurd/hurdsig.c
parent1f3109a5f8b7facf9fa655ce48da3be0767141cd (diff)
downloadglibc-99f1b15bd12249169a0fc125fc6daab4f8c4f48b.tar.gz
glibc-99f1b15bd12249169a0fc125fc6daab4f8c4f48b.tar.xz
glibc-99f1b15bd12249169a0fc125fc6daab4f8c4f48b.zip
* 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  <kettenis@gnu.org>

	* hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
	declaration of value such that we actually return the value of the
	environment variable.
Diffstat (limited to 'hurd/hurdsig.c')
-rw-r--r--hurd/hurdsig.c1
1 files changed, 0 insertions, 1 deletions
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);