Module Name: src
Committed By: pooka
Date: Fri Nov 19 17:47:44 UTC 2010
Modified Files:
src/lib/librumpuser: rumpuser_sp.c
Log Message:
squelch the compiler whine
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/librumpuser/rumpuser_sp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librumpuser/rumpuser_sp.c
diff -u src/lib/librumpuser/rumpuser_sp.c:1.8 src/lib/librumpuser/rumpuser_sp.c:1.9
--- src/lib/librumpuser/rumpuser_sp.c:1.8 Fri Nov 19 17:09:44 2010
+++ src/lib/librumpuser/rumpuser_sp.c Fri Nov 19 17:47:44 2010
@@ -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)