From 9e9f1ac9b39de4f2f9779c4beb2ed050e091dbef Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 31 Jul 2019 15:26:29 +0000 Subject: Rearrange comment to make clang-format happy Signed-off-by: Jason A. Donenfeld --- wintun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wintun.c') diff --git a/wintun.c b/wintun.c index c8c1247..4f083f1 100644 --- a/wintun.c +++ b/wintun.c @@ -936,14 +936,14 @@ TunInitializeEx( NdisMGetDeviceProperty(MiniportAdapterHandle, NULL, &Ctx->FunctionalDeviceObject, NULL, NULL, NULL); if (Status = NDIS_STATUS_FAILURE, !Ctx->FunctionalDeviceObject) goto cleanupFreeCtx; +#pragma warning(suppress : 28175) + ASSERT(!Ctx->FunctionalDeviceObject->Reserved); /* Reverse engineering indicates that we'd be better off calling * NdisWdfGetAdapterContextFromAdapterHandle(functional_device), * which points to our TUN_CTX object directly, but this isn't * available before Windows 10, so for now we just stick it into * this reserved field. Revisit this when we drop support for old * Windows versions. */ -#pragma warning(suppress : 28175) - ASSERT(!Ctx->FunctionalDeviceObject->Reserved); #pragma warning(suppress : 28175) Ctx->FunctionalDeviceObject->Reserved = Ctx; -- cgit v1.2.3-59-g8ed1b