Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 14cf05d

Browse files
author
Edward Thomson
committed
win32: clean up unused warnings in DllMain
1 parent 4505a42 commit 14cf05d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/global.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ void git__free_tls_data(void)
228228

229229
BOOL WINAPI DllMain(HINSTANCE hInstDll, DWORD fdwReason, LPVOID lpvReserved)
230230
{
231+
GIT_UNUSED(hInstDll);
232+
GIT_UNUSED(lpvReserved);
233+
231234
/* This is how Windows lets us know our thread is being shut down */
232235
if (fdwReason == DLL_THREAD_DETACH) {
233236
git__free_tls_data();

0 commit comments

Comments
 (0)