Re: [libvirt] [PATCH] mdev: Cleanup code after commits @daf5081b and @2739a983

2017-05-05 Thread Erik Skultety
On Thu, May 04, 2017 at 01:28:27PM -0400, Laine Stump wrote: > On 05/04/2017 11:03 AM, Erik Skultety wrote: > > So, because mingw is somehow OK with dereferencing a pointer within a > > VIR_DEBUG macro, compared to outside of it to which it complained with a > > "potential NULL pointer dereference"

Re: [libvirt] [PATCH] mdev: Cleanup code after commits @daf5081b and @2739a983

2017-05-04 Thread Laine Stump
On 05/04/2017 11:03 AM, Erik Skultety wrote: > So, because mingw is somehow OK with dereferencing a pointer within a > VIR_DEBUG macro, compared to outside of it to which it complained with a > "potential NULL pointer dereference" error (still a false positive), we > can make the code a tiny bit cl

[libvirt] [PATCH] mdev: Cleanup code after commits @daf5081b and @2739a983

2017-05-04 Thread Erik Skultety
So, because mingw is somehow OK with dereferencing a pointer within a VIR_DEBUG macro, compared to outside of it to which it complained with a "potential NULL pointer dereference" error (still a false positive), we can make the code a tiny bit cleaner. Sighed-by: Erik Skultety Signed-off-by: Erik