artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4a088d
)
Initialize var since it's used in a condition a little bit afterwards.
author
mestre
<mestre@openbsd.org>
Thu, 11 Feb 2021 11:57:32 +0000
(11:57 +0000)
committer
mestre
<mestre@openbsd.org>
Thu, 11 Feb 2021 11:57:32 +0000
(11:57 +0000)
CID
1501713
ok jmatthew@
sys/dev/pv/vmt.c
patch
|
blob
|
history
diff --git
a/sys/dev/pv/vmt.c
b/sys/dev/pv/vmt.c
index
2d34c28
..
18a17b1
100644
(file)
--- a/
sys/dev/pv/vmt.c
+++ b/
sys/dev/pv/vmt.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: vmt.c,v 1.2
2 2021/01/15 06:14:41 jmatthew
Exp $ */
+/* $OpenBSD: vmt.c,v 1.2
3 2021/02/11 11:57:32 mestre
Exp $ */
/*
* Copyright (c) 2007 David Crawshaw <david@zentus.com>
@@
-1289,7
+1289,7
@@
vmt_xdr_nic_info(char *data)
struct ifnet *iface;
struct vm_nicinfo_nic_list nl;
size_t total, nictotal;
- char *listdata;
+ char *listdata
= NULL
;
int nics;
NET_ASSERT_LOCKED();