Module Name:    src
Committed By:   christos
Date:           Mon Oct 21 15:37:46 UTC 2013

Modified Files:
        src/usr.sbin/installboot/arch: pmax.c

Log Message:
XXX: gcc initialize a variable


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/installboot/arch/pmax.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/installboot/arch/pmax.c
diff -u src/usr.sbin/installboot/arch/pmax.c:1.14 src/usr.sbin/installboot/arch/pmax.c:1.15
--- src/usr.sbin/installboot/arch/pmax.c:1.14	Sun Apr  5 07:55:39 2009
+++ src/usr.sbin/installboot/arch/pmax.c	Mon Oct 21 11:37:46 2013
@@ -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 <sys/cdefs.h>
 #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 <sys/param.h>
@@ -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;
 

Reply via email to