From 2994f86774db64bd29e5a694c4b1d05075803863 Mon Sep 17 00:00:00 2001 From: Tomuxs Date: Tue, 3 Jun 2025 14:31:10 +0200 Subject: [PATCH] Removed unused code --- meson.build | 1 - src/main.c | 8 -------- 2 files changed, 9 deletions(-) diff --git a/meson.build b/meson.build index 6218a9d..a9c33dd 100644 --- a/meson.build +++ b/meson.build @@ -19,7 +19,6 @@ executable( ], include_directories: ['.'], dependencies: [ - dependency('openmp'), winmm, ], ) \ No newline at end of file diff --git a/src/main.c b/src/main.c index c56d4da..95d624e 100644 --- a/src/main.c +++ b/src/main.c @@ -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);