From 3946240709d0c047c1d493850607a1af94ce9eac Mon Sep 17 00:00:00 2001 From: thorpej Date: Thu, 25 Jul 1996 20:41:48 +0000 Subject: [PATCH] Fix unititialized variable warning. Pointed out by Aaron Brown. --- sys/kern/subr_extent.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/kern/subr_extent.c b/sys/kern/subr_extent.c index 62f500f869dd..d8f8083354e2 100644 --- a/sys/kern/subr_extent.c +++ b/sys/kern/subr_extent.c @@ -1,4 +1,4 @@ -/* $NetBSD: subr_extent.c,v 1.2 1996/07/23 23:09:10 thorpej Exp $ */ +/* $NetBSD: subr_extent.c,v 1.3 1996/07/25 20:41:48 thorpej Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -458,6 +458,7 @@ extent_alloc_subregion(ex, substart, subend, size, alignment, boundary, * before the region starts, we add the "boundary" argument * until we get a meaningful comparison. */ + dontcross = 0; if (boundary) { dontcross = ex->ex_start + boundary; while (dontcross < substart)