diff options
author | Gary Kramlich <grim@reaperworld.com> | 2023-02-19 17:57:16 -0600 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2023-02-19 17:57:16 -0600 |
commit | f79b5695775d1f33155bd95ace30632400b8a90f (patch) | |
tree | 51679361fbc20869bf7b3d5e59d86121131812a7 /libpurple | |
parent | 696c243be9a91cf44d9c2de1db6e0a39f2f1ceda (diff) | |
download | pidgin-f79b5695775d1f33155bd95ace30632400b8a90f.tar.gz |
Mark a number of unused parameters as such
Testing Done:
Compiled and Windows and verified the warnings were gone.
Reviewed at https://reviews.imfreedom.org/r/2247/
Diffstat (limited to 'libpurple')
-rw-r--r-- | libpurple/win32/win32dep.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libpurple/win32/win32dep.c b/libpurple/win32/win32dep.c index 45df61c791..789ce73183 100644 --- a/libpurple/win32/win32dep.c +++ b/libpurple/win32/win32dep.c @@ -631,7 +631,10 @@ void wpurple_cleanup(void) { /* DLL initializer */ /* suppress gcc "no previous prototype" warning */ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved); -BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { +BOOL WINAPI +DllMain(HINSTANCE hinstDLL, G_GNUC_UNUSED DWORD fdwReason, + G_GNUC_UNUSED LPVOID lpvReserved) +{ libpurpledll_hInstance = hinstDLL; return TRUE; } |