From: Matthew Fernandez Date: Sat, 29 May 2021 21:07:00 +0000 (-0700) Subject: remove unused return value of gvplugin_activate X-Git-Tag: 2.47.3~15^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37cc86e9597b213a69932260b5c0ac709f01fb47;p=graphviz remove unused return value of gvplugin_activate --- diff --git a/lib/gvc/gvplugin.c b/lib/gvc/gvplugin.c index f09dab28b..829a0a517 100644 --- a/lib/gvc/gvplugin.c +++ b/lib/gvc/gvplugin.c @@ -128,10 +128,9 @@ boolean gvplugin_install(GVC_t * gvc, api_t api, const char *typestr, * NB the quality value is not replaced as it might have been * manually changed in the config file. */ -static boolean gvplugin_activate(GVC_t * gvc, api_t api, - const char *typestr, const char *name, - const char *plugin_path, - gvplugin_installed_t * typeptr) +static void gvplugin_activate(GVC_t * gvc, api_t api, const char *typestr, + const char *name, const char *plugin_path, + gvplugin_installed_t * typeptr) { gvplugin_available_t *pnext; @@ -144,11 +143,10 @@ static boolean gvplugin_activate(GVC_t * gvc, api_t api, && (pnext->package->path != 0) && (strcasecmp(plugin_path, pnext->package->path) == 0)) { pnext->typeptr = typeptr; - return TRUE; + return; } pnext = pnext->next; } - return FALSE; } gvplugin_library_t *gvplugin_library_load(GVC_t * gvc, char *path)