Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: c3d21af2da4882bcb0aa19d4a8ea05b5cf0ec6cc https://github.com/Perl/perl5/commit/c3d21af2da4882bcb0aa19d4a8ea05b5cf0ec6cc Author: Nicholas Clark <n...@ccl4.org> Date: 2022-08-19 (Fri, 19 Aug 2022)
Changed paths: M ext/DynaLoader/DynaLoader_pm.PL M ext/DynaLoader/dl_dyld.xs Log Message: ----------- dl_dyld.xs should not create a `mode` variable only to ignore it This unused variable dates back to when the file was first added. The code was structured as a static C wrapper emulating the dlopen() API with the native APIs, and then a copy of the existing XS code that called dlopen(). However, there is (and was) no need to keep it exactly this way, as the wrapper is only visible inside this file, meaning that it does not need to conform to any externally defined prototype.