From a74a5abffb7632f85c66b2f53c649922cd01197f Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 21 Oct 2013 15:37:46 +0000 Subject: [PATCH] XXX: gcc initialize a variable --- usr.sbin/installboot/arch/pmax.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/installboot/arch/pmax.c b/usr.sbin/installboot/arch/pmax.c index bdbdde71cbda..962cd2a83141 100644 --- a/usr.sbin/installboot/arch/pmax.c +++ b/usr.sbin/installboot/arch/pmax.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmax.c,v 1.14 2009/04/05 11:55:39 lukem Exp $ */ +/* $NetBSD: pmax.c,v 1.15 2013/10/21 15:37:46 christos Exp $ */ /*- * Copyright (c) 1999, 2002 The NetBSD Foundation, Inc. @@ -98,7 +98,7 @@ #include #if !defined(__lint) -__RCSID("$NetBSD: pmax.c,v 1.14 2009/04/05 11:55:39 lukem Exp $"); +__RCSID("$NetBSD: pmax.c,v 1.15 2013/10/21 15:37:46 christos Exp $"); #endif /* !__lint */ #include @@ -188,7 +188,7 @@ pmax_setboot(ib_params *params) uint32_t startblock; int retval; char *bootstrapbuf; - size_t bootstrapsize; + size_t bootstrapsize = 0; /* XXX: gcc */ uint32_t bootstrapload, bootstrapexec; ssize_t rv;