Skip to content

Commit f3c8c58

Browse files
committed
Revert "win32/perllib.c: Omit unused formal parameter name"
This reverts commit 6fb21d6 and changes to use PERL_UNUSED_ARG to silence the compiler warning that commit was intended to silence Fixes #23952.
1 parent e09fa77 commit f3c8c58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

win32/perllib.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,10 @@ EXTERN_C /* GCC in C++ mode mangles the name, otherwise */
261261
BOOL APIENTRY
262262
DllMain(HINSTANCE hModule, /* DLL module handle */
263263
DWORD fdwReason, /* reason called */
264-
LPVOID) /* reserved */
264+
LPVOID lpvReserved) /* reserved */
265265
{
266+
PERL_UNUSED_ARG(lpvReserved);
267+
266268
switch (fdwReason) {
267269
/* The DLL is attaching to a process due to process
268270
* initialization or a call to LoadLibrary.

0 commit comments

Comments
 (0)