This is really non-op. The (void)casts here to avoid getting warnings with parameters have never been used with some compilers (casts are optimized, but the parameters are still considered "used").
You can pass NULLas parameters are ignored anyway.
source
share