mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-30 02:01:52 +00:00
win32: clean up unused warnings in DllMain
This commit is contained in:
parent
4505a42a23
commit
14cf05dae8
@ -228,6 +228,9 @@ void git__free_tls_data(void)
|
|||||||
|
|
||||||
BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved)
|
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 */
|
/* This is how Windows lets us know our thread is being shut down */
|
||||||
if (fdwReason == DLL_THREAD_DETACH) {
|
if (fdwReason == DLL_THREAD_DETACH) {
|
||||||
git__free_tls_data();
|
git__free_tls_data();
|
||||||
|
Loading…
Reference in New Issue
Block a user