summary refs log tree commit diff
path: root/inet/rcmd.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-24 13:04:49 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-24 13:04:49 +0000
commitd1e9545ef41fc6e78d6295ebe464b5b0aba492b8 (patch)
tree09868eda21ddc58cdb3e8c0475fa0103b623a2c4 /inet/rcmd.c
parent30373ded4fbf06812db7cc26fa087b8dfd3bbb9e (diff)
downloadglibc-d1e9545ef41fc6e78d6295ebe464b5b0aba492b8.tar.gz
glibc-d1e9545ef41fc6e78d6295ebe464b5b0aba492b8.tar.xz
glibc-d1e9545ef41fc6e78d6295ebe464b5b0aba492b8.zip
Update.
	* inet/rcmd.c (iruserok): Initialize hostf variable to NULL.

1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
Diffstat (limited to 'inet/rcmd.c')
-rw-r--r--inet/rcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c
index 05bd1d5e8b..a8a6bc451b 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -345,7 +345,7 @@ iruserok (raddr, superuser, ruser, luser)
      int superuser;
      const char *ruser, *luser;
 {
-  FILE *hostf;
+  FILE *hostf = NULL;
   int isbad;
 
   if (!superuser)