From 1f50d34fc888244ebd5940b480269e6e7f6f0bb7 Mon Sep 17 00:00:00 2001
From: Artur Grabowski <art@cvs.openbsd.org>
Date: Thu, 14 Feb 2002 22:43:04 +0000
Subject: Try to initialize variables correctly, that usually helps.

---
 regress/sys/kern/accept/accept.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'regress')

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.
-- 
cgit v1.2.3