|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 12/17] fdo: suppress warning in FdoQueryInterface
IoCallDriver called by FdoQueryInterface is the one that fills
Interface indirectly, so to suppress the warning on Interface not
being touched by FdoQueryInterface we can just initialize it.
Signed-off-by: Césaire Mounah <cesaire.mounah@xxxxxxxxxx>
---
src/xeniface/fdo.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/xeniface/fdo.c b/src/xeniface/fdo.c
index 0f2e747..7f9c471 100644
--- a/src/xeniface/fdo.c
+++ b/src/xeniface/fdo.c
@@ -2272,6 +2272,8 @@ FdoQueryInterface(
ASSERT3U(KeGetCurrentIrql(), ==, PASSIVE_LEVEL);
+ RtlZeroMemory(Interface, Size);
+
KeInitializeEvent(&Event, NotificationEvent, FALSE);
RtlZeroMemory(&StatusBlock, sizeof(IO_STATUS_BLOCK));
--
2.55.0.windows.5
--
Césaire Mounah | Vates Windows Guest Tools Engineer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |