On Thu, Feb 11, 2021 at 11:41:24AM +0000, Ricardo Mestre wrote:
> Hi,
> 
> Uninitialized var and it's used in a condition != NULL a little bit 
> afterwards.
> CID 1501713
> 
> OK?

yes, ok jmatthew@

> 
> Index: vmt.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pv/vmt.c,v
> retrieving revision 1.22
> diff -u -p -u -r1.22 vmt.c
> --- vmt.c     15 Jan 2021 06:14:41 -0000      1.22
> +++ vmt.c     11 Feb 2021 11:35:41 -0000
> @@ -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();

Reply via email to