summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/plugin.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index 968cf65..832b969 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -163,7 +163,7 @@ GPluginModule *g_plugin_module_new(const gchar *filename)
{
GPluginModule *result; /* Structure à retourner */
get_plugin_name_fc get_name; /* Nom du greffon */
- get_plugin_action_fc __get_type; /* Type(s) de greffon */
+ //get_plugin_action_fc __get_type; /* Type(s) de greffon */
get_plugin_action_fc get_action; /* Actions du greffon */
char *dir; /* Répertoire modifiable */
@@ -403,15 +403,10 @@ PluginAction g_plugin_module_get_action(const GPluginModule *plugin)
MatchingFormatAction g_plugin_module_is_matching(const GPluginModule *plugin, char **filename, bin_t **data, off_t *length)
{
MatchingFormatAction result; /* Valeur à retourner */
- char *old_filename; /* Ancien nom de fichier */
- bin_t *old_data; /* Ancien contenu binaire */
if (plugin->is_matching == NULL)
return MFA_NONE;
- old_filename = *filename;
- old_data = *data;
-
result = plugin->is_matching(plugin, filename, data, length);
return result;