1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-29 20:52:16 -05:00

Eliminate compiler warning

This commit is contained in:
Berke Viktor 2013-04-14 13:15:10 +02:00
parent b407bfa168
commit dd624950c6

View File

@ -368,10 +368,12 @@ plugin_load (session *sess, char *filename, char *arg)
{ {
void *handle; void *handle;
char *pluginpath; char *pluginpath;
char *error;
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
char *error;
#endif
/* get the filename without path */ /* get the filename without path */
filepart = file_part (filename); filepart = file_part (filename);