Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/dump_lfs Mark an sh3 gcc unitialized variable w. XXGCC
details: https://anonhg.NetBSD.org/src/rev/e38e0c96679e
branches: trunk
changeset: 582104:e38e0c96679e
user: jmc <jmc%NetBSD.org@localhost>
date: Thu Jun 16 20:39:33 2005 +0000
description:
Mark an sh3 gcc unitialized variable w. XXGCC
diffstat:
sbin/dump_lfs/lfs_inode.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 53d40eca3c30 -r e38e0c96679e sbin/dump_lfs/lfs_inode.c
--- a/sbin/dump_lfs/lfs_inode.c Thu Jun 16 20:15:04 2005 +0000
+++ b/sbin/dump_lfs/lfs_inode.c Thu Jun 16 20:39:33 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_inode.c,v 1.9 2005/02/06 06:07:12 perry Exp $ */
+/* $NetBSD: lfs_inode.c,v 1.10 2005/06/16 20:39:33 jmc Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/1/95";
#else
-__RCSID("$NetBSD: lfs_inode.c,v 1.9 2005/02/06 06:07:12 perry Exp $");
+__RCSID("$NetBSD: lfs_inode.c,v 1.10 2005/06/16 20:39:33 jmc Exp $");
#endif
#endif /* not lint */
@@ -198,7 +198,8 @@
static daddr_t
lfs_bmap(struct lfs *fs, struct ufs1_dinode *idinode, daddr_t lbn)
{
- daddr_t residue, up;
+ daddr_t residue;
+ daddr_t up = UNASSIGNED; /* XXGCC -Wunitialized sh3 */
int off=0;
char bp[MAXBSIZE];
Home |
Main Index |
Thread Index |
Old Index