From: "Claire (@ClearlyClaire)" Subject: Re: [PATCH 0/1] MR338: mmdevapi: Override product strings for DualSense controller audio devices Message-Id: Date: Wed, 29 Jun 2022 14:24:49 +0000 In-Reply-To: References: On Wed Jun 29 13:40:34 2022 +0000, Andrew Eikum wrote: > Why not just assign to `name` here and remove the if-NULL check later in > the function? Because I was re-using `pv` so it would have been overridden. But I'll just use a second `PROPVARIANT` as is already done a few lines below. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/338#note_2956