Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa XXX: gcc initializations
details: https://anonhg.NetBSD.org/src/rev/6102769837f6
branches: trunk
changeset: 790771:6102769837f6
user: christos <christos%NetBSD.org@localhost>
date: Sun Oct 20 17:17:30 2013 +0000
description:
XXX: gcc initializations
diffstat:
sys/lib/libsa/ext2fs.c | 4 ++--
sys/lib/libsa/ufs.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (52 lines):
diff -r c75d901cdc09 -r 6102769837f6 sys/lib/libsa/ext2fs.c
--- a/sys/lib/libsa/ext2fs.c Sun Oct 20 17:16:57 2013 +0000
+++ b/sys/lib/libsa/ext2fs.c Sun Oct 20 17:17:30 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ext2fs.c,v 1.18 2013/06/23 07:28:36 dholland Exp $ */
+/* $NetBSD: ext2fs.c,v 1.19 2013/10/20 17:17:30 christos Exp $ */
/*
* Copyright (c) 1997 Manuel Bouyer.
@@ -341,7 +341,7 @@
struct m_ext2fs *fs = fp->f_fs;
long off;
indp_t file_block;
- indp_t disk_block;
+ indp_t disk_block = 0; /* XXX: gcc */
size_t block_size;
int rc;
diff -r c75d901cdc09 -r 6102769837f6 sys/lib/libsa/ufs.c
--- a/sys/lib/libsa/ufs.c Sun Oct 20 17:16:57 2013 +0000
+++ b/sys/lib/libsa/ufs.c Sun Oct 20 17:17:30 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs.c,v 1.63 2013/06/23 07:28:36 dholland Exp $ */
+/* $NetBSD: ufs.c,v 1.64 2013/10/20 17:17:30 christos Exp $ */
/*-
* Copyright (c) 1993
@@ -267,7 +267,7 @@
char *buf;
size_t rsize;
int rc;
- daddr_t inode_sector;
+ daddr_t inode_sector = 0; /* XXX: gcc */
#ifdef LIBSA_LFS
struct ufs_dinode *dip;
int cnt;
@@ -428,7 +428,6 @@
struct fs *fs = fp->f_fs;
long off;
indp_t file_block;
- indp_t disk_block;
size_t block_size;
int rc;
@@ -441,6 +440,7 @@
#endif
if (file_block != fp->f_buf_blkno) {
+ indp_t disk_block = 0; /* XXX: gcc */
rc = block_map(f, file_block, &disk_block);
if (rc)
return rc;
Home |
Main Index |
Thread Index |
Old Index