fix warning
This commit is contained in:
parent
f3efdaf40f
commit
b856065167
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue