Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/uts/common/dtrace fix gcc uninitial...
details: https://anonhg.NetBSD.org/src/rev/50ac1cfb237f
branches: trunk
changeset: 767408:50ac1cfb237f
user: christos <christos%NetBSD.org@localhost>
date: Mon Jul 18 00:43:35 2011 +0000
description:
fix gcc uninitialized warnings
diffstat:
external/cddl/osnet/dist/uts/common/dtrace/dtrace.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 589e61e54a91 -r 50ac1cfb237f external/cddl/osnet/dist/uts/common/dtrace/dtrace.c
--- a/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c Mon Jul 18 00:42:40 2011 +0000
+++ b/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c Mon Jul 18 00:43:35 2011 +0000
@@ -8092,8 +8092,8 @@
{
dtrace_probekey_t pkey;
uint32_t priv;
- uid_t uid;
- zoneid_t zoneid;
+ uid_t uid = 0; /* XXX: gcc */
+ zoneid_t zoneid = 0; /* XXX: gcc */
ASSERT(MUTEX_HELD(&dtrace_lock));
dtrace_ecb_create_cache = NULL;
Home |
Main Index |
Thread Index |
Old Index