Commit feea2849f980035dabdcdc1dc82f5de342821632

Edward Thomson 2016-05-26T12:52:29

win32: clean up unused warnings in DllMain

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/global.c b/src/global.c
index adf353d..967944f 100644
--- a/src/global.c
+++ b/src/global.c
@@ -226,6 +226,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();