1
0
Эх сурвалжийг харах

Mark WinMain parameters as unused

jp9000 11 жил өмнө
parent
commit
3c2d81033f
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      test/win/test.cpp

+ 3 - 0
test/win/test.cpp

@@ -202,5 +202,8 @@ int WINAPI WinMain(HINSTANCE instance, HINSTANCE prevInstance, LPSTR cmdLine,
 	blog(LOG_INFO, "Number of memory leaks: %llu", bnum_allocs());
 	DestroyWindow(hwnd);
 
+	UNUSED_PARAMETER(prevInstance);
+	UNUSED_PARAMETER(cmdLine);
+	UNUSED_PARAMETER(numCmd);
 	return 0;
 }