diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-02-14 22:43:04 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-02-14 22:43:04 +0000 |
commit | 1f50d34fc888244ebd5940b480269e6e7f6f0bb7 (patch) | |
tree | c7904b9391f5bbcf63a395062307a26ab39f598b /regress | |
parent | 77e1b9b935625ce9914eaeebe2ea67231113374f (diff) |
Try to initialize variables correctly, that usually helps.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sys/kern/accept/accept.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/kern/accept/accept.c b/regress/sys/kern/accept/accept.c index 2974142733c..354ac8f5a37 100644 --- a/regress/sys/kern/accept/accept.c +++ b/regress/sys/kern/accept/accept.c @@ -1,4 +1,4 @@ -/* $OpenBSD: accept.c,v 1.1 2002/02/11 15:40:31 art Exp $ */ +/* $OpenBSD: accept.c,v 1.2 2002/02/14 22:43:03 art Exp $ */ /* * Written by Artur Grabowski <art@openbsd.org>, 2002 Public Domain. */ @@ -30,7 +30,7 @@ main(argc, argv) int csunlen; int fd, lastfd; int status; - int ischild; + int ischild = 0; /* * Create the listen socket. |