summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-05-26 12:52:29 -0500
committerEdward Thomson <ethomson@github.com>2016-06-01 10:03:52 -0500
commit14cf05dae8e0555be439fd2ab797191cb7629df0 (patch)
treef05bd2983a39c1ca1d8656cb29ca5e4a1ca6020d
parent4505a42a23cfb55fcfd88d89d150686a78636805 (diff)
downloadlibgit2-14cf05dae8e0555be439fd2ab797191cb7629df0.tar.gz
win32: clean up unused warnings in DllMain
-rw-r--r--src/global.c3
1 files changed, 3 insertions, 0 deletions
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();