rpmRC rpmpluginsAdd(rpmPlugins plugins, const char *name, const char *path,
const char *opts)
{
- rpmPluginHook *supportedHooks;
char *error;
void *handle = dlopen(path, RTLD_LAZY);
}
/* make sure the plugin has the supported hooks flag */
- supportedHooks = (rpmPluginHook *) dlsym(handle, STR(PLUGIN_HOOKS));
+ (void) dlsym(handle, STR(PLUGIN_HOOKS));
if ((error = dlerror()) != NULL) {
rpmlog(RPMLOG_ERR, _("Failed to resolve symbol %s: %s\n"),
STR(PLUGIN_HOOKS), error);