Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ufs Shut up -Wuninitialized on sh3 with gcc 4.8
details: https://anonhg.NetBSD.org/src/rev/bb818bfd62ba
branches: trunk
changeset: 327745:bb818bfd62ba
user: uwe <uwe%NetBSD.org@localhost>
date: Sun Mar 16 01:21:35 2014 +0000
description:
Shut up -Wuninitialized on sh3 with gcc 4.8
diffstat:
sys/ufs/ufs/ufs_quota2.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d83e0c9ebf6b -r bb818bfd62ba sys/ufs/ufs/ufs_quota2.c
--- a/sys/ufs/ufs/ufs_quota2.c Sun Mar 16 01:07:46 2014 +0000
+++ b/sys/ufs/ufs/ufs_quota2.c Sun Mar 16 01:21:35 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs_quota2.c,v 1.37 2014/01/29 20:13:04 bouyer Exp $ */
+/* $NetBSD: ufs_quota2.c,v 1.38 2014/03/16 01:21:35 uwe Exp $ */
/*-
* Copyright (c) 2010 Manuel Bouyer
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_quota2.c,v 1.37 2014/01/29 20:13:04 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_quota2.c,v 1.38 2014/03/16 01:21:35 uwe Exp $");
#include <sys/buf.h>
#include <sys/param.h>
@@ -1280,7 +1280,7 @@
struct q2cursor_state state;
struct quota2_entry default_q2e;
int idtype;
- int quota2_hash_size;
+ int quota2_hash_size = 0; /* XXX: sh3 gcc 4.8 -Wuninitialized */
/*
* Convert and validate the cursor.
Home |
Main Index |
Thread Index |
Old Index