Removed unused code
This commit is contained in:
@ -19,7 +19,6 @@ executable(
|
||||
],
|
||||
include_directories: ['.'],
|
||||
dependencies: [
|
||||
dependency('openmp'),
|
||||
winmm,
|
||||
],
|
||||
)
|
||||
@ -49,14 +49,6 @@ int main()
|
||||
cmdMode |= ENABLE_VIRTUAL_TERMINAL_PROCESSING;
|
||||
SetConsoleMode(cmd, cmdMode);
|
||||
|
||||
// Get %TEMP% path
|
||||
char tempPathDir[MAX_PATH];
|
||||
GetTempPath2(MAX_PATH, tempPathDir);
|
||||
|
||||
// Get temporary name
|
||||
char resPath[MAX_PATH];
|
||||
GetTempFileName(tempPathDir, TEXT("virus"), 0, resPath);
|
||||
|
||||
// Get the current module handle
|
||||
HMODULE thisExe = GetModuleHandle(NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user