summaryrefslogtreecommitdiffstats
path: root/usr.bin/rsh
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-02-20 04:50:50 +0000
committerjb <jb@FreeBSD.org>1998-02-20 04:50:50 +0000
commit01b0029e571f4b359c6cbc447bbe85e8d50ba33c (patch)
treebc7e9be759a87bf43902b70ad0eba4c47294420f /usr.bin/rsh
parent7f92b62ee315cfd4e6dce7f0155782194438d5ce (diff)
downloadFreeBSD-src-01b0029e571f4b359c6cbc447bbe85e8d50ba33c.zip
FreeBSD-src-01b0029e571f4b359c6cbc447bbe85e8d50ba33c.tar.gz
Initialise variable that gcc lies awake at night worrying about.
Diffstat (limited to 'usr.bin/rsh')
-rw-r--r--usr.bin/rsh/rsh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rsh/rsh.c b/usr.bin/rsh/rsh.c
index 126d617..cdce225 100644
--- a/usr.bin/rsh/rsh.c
+++ b/usr.bin/rsh/rsh.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "From: @(#)rsh.c 8.3 (Berkeley) 4/6/94";
#endif
static char rcsid[] =
- "$Id$";
+ "$Id: rsh.c,v 1.13 1997/09/28 08:57:24 markm Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -98,7 +98,7 @@ main(argc, argv)
struct servent *sp;
long omask;
int argoff, asrsh, ch, dflag, nflag, one, rem;
- pid_t pid;
+ pid_t pid = 0;
uid_t uid;
char *args, *host, *p, *user;
int timeout = 0;
OpenPOWER on IntegriCloud