]> git.proxmox.com Git - libgit2.git/commitdiff
win32: clean up unused warnings in DllMain
authorEdward Thomson <ethomson@github.com>
Thu, 26 May 2016 17:52:29 +0000 (12:52 -0500)
committerEdward Thomson <ethomson@github.com>
Wed, 1 Jun 2016 15:03:52 +0000 (10:03 -0500)
src/global.c

index acca59985c6091035f5f356663a6483b6864b1b5..e1836ee0fc56bbeedcda6bdef2559cfad455b02f 100644 (file)
@@ -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();