Module Name: src
Committed By: uwe
Date: Sun Mar 16 01:21:35 UTC 2014
Modified Files:
src/sys/ufs/ufs: ufs_quota2.c
Log Message:
Shut up -Wuninitialized on sh3 with gcc 4.8
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/ufs/ufs/ufs_quota2.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/ufs/ufs/ufs_quota2.c
diff -u src/sys/ufs/ufs/ufs_quota2.c:1.37 src/sys/ufs/ufs/ufs_quota2.c:1.38
--- src/sys/ufs/ufs/ufs_quota2.c:1.37 Wed Jan 29 20:13:04 2014
+++ src/sys/ufs/ufs/ufs_quota2.c Sun Mar 16 01:21:35 2014
@@ -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 @@ quota2_handle_cmd_cursorget(struct ufsmo
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.