Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpuser squelch the compiler whine
details: https://anonhg.NetBSD.org/src/rev/cc861e578dff
branches: trunk
changeset: 758891:cc861e578dff
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Nov 19 17:47:44 2010 +0000
description:
squelch the compiler whine
diffstat:
lib/librumpuser/rumpuser_sp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 45820c50f2ea -r cc861e578dff lib/librumpuser/rumpuser_sp.c
--- a/lib/librumpuser/rumpuser_sp.c Fri Nov 19 17:46:02 2010 +0000
+++ b/lib/librumpuser/rumpuser_sp.c Fri Nov 19 17:47:44 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser_sp.c,v 1.8 2010/11/19 17:09:44 pooka Exp $ */
+/* $NetBSD: rumpuser_sp.c,v 1.9 2010/11/19 17:47:44 pooka Exp $ */
/*
* Copyright (c) 2010 Antti Kantee. All Rights Reserved.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: rumpuser_sp.c,v 1.8 2010/11/19 17:09:44 pooka Exp $");
+__RCSID("$NetBSD: rumpuser_sp.c,v 1.9 2010/11/19 17:47:44 pooka Exp $");
#include <sys/types.h>
#include <sys/mman.h>
@@ -427,7 +427,7 @@
rumpuser_sp_copyin(const void *uaddr, void *kaddr, size_t len)
{
struct spclient *spc;
- void *rdata;
+ void *rdata = NULL; /* XXXuninit */
spc = pthread_getspecific(spclient_tls);
if (!spc)
Home |
Main Index |
Thread Index |
Old Index