perl5 icon indicating copy to clipboard operation
perl5 copied to clipboard

dl_dyld.xs should not create a `mode` variable only to ignore it

Open nwc10 opened this issue 3 years ago • 0 comments

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.

nwc10 avatar Aug 05 '22 13:08 nwc10