From 14cf05dae8e0555be439fd2ab797191cb7629df0 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Thu, 26 May 2016 12:52:29 -0500 Subject: win32: clean up unused warnings in DllMain --- src/global.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/global.c b/src/global.c index acca59985..e1836ee0f 100644 --- a/src/global.c +++ b/src/global.c @@ -228,6 +228,9 @@ void git__free_tls_data(void) BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved) { + GIT_UNUSED(hInstDll); + GIT_UNUSED(lpvReserved); + /* This is how Windows lets us know our thread is being shut down */ if (fdwReason == DLL_THREAD_DETACH) { git__free_tls_data(); -- cgit v1.2.1