Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/installboot/arch XXX: gcc initialize a variable
details: https://anonhg.NetBSD.org/src/rev/ed31bb41685c
branches: trunk
changeset: 790801:ed31bb41685c
user: christos <christos%NetBSD.org@localhost>
date: Mon Oct 21 15:37:46 2013 +0000
description:
XXX: gcc initialize a variable
diffstat:
usr.sbin/installboot/arch/pmax.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0633dfcbe862 -r ed31bb41685c usr.sbin/installboot/arch/pmax.c
--- a/usr.sbin/installboot/arch/pmax.c Mon Oct 21 15:32:41 2013 +0000
+++ b/usr.sbin/installboot/arch/pmax.c Mon Oct 21 15:37:46 2013 +0000
@@ -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 @@
uint32_t startblock;
int retval;
char *bootstrapbuf;
- size_t bootstrapsize;
+ size_t bootstrapsize = 0; /* XXX: gcc */
uint32_t bootstrapload, bootstrapexec;
ssize_t rv;
Home |
Main Index |
Thread Index |
Old Index