Removed warning suppression

This commit is contained in:
Benjamin Höglinger-Stelzer 2023-07-01 05:03:38 +02:00
parent 61a764a708
commit 0d9cc19fbd

View File

@ -94,12 +94,10 @@ DomitoFindDriverBaseAddress(
return status; return status;
} }
#pragma warning(disable:4996)
// Allocate memory for the module information // Allocate memory for the module information
moduleInfo = (PSYSTEM_MODULE_INFORMATION)Allocator( moduleInfo = (PSYSTEM_MODULE_INFORMATION)Allocator(
bufferSize bufferSize
); );
#pragma warning(default:4996)
if (moduleInfo == NULL) if (moduleInfo == NULL)
{ {