fix warning

This commit is contained in:
TingPing 2013-04-15 22:03:03 -03:00
parent f3efdaf40f
commit b856065167

View File

@ -367,12 +367,13 @@ char *
plugin_load (session *sess, char *filename, char *arg) plugin_load (session *sess, char *filename, char *arg)
{ {
void *handle; void *handle;
char *pluginpath;
char *filepart; char *filepart;
hexchat_init_func *init_func; hexchat_init_func *init_func;
hexchat_deinit_func *deinit_func; hexchat_deinit_func *deinit_func;
#ifndef USE_GMODULE #ifndef USE_GMODULE
char *error; char *error;
#else
char *pluginpath;
#endif #endif
/* get the filename without path */ /* get the filename without path */