From dd624950c60347e25d30fdf8b0194a895a3360e3 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 14 Apr 2013 13:15:10 +0200 Subject: Eliminate compiler warning --- src/common/plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/plugin.c b/src/common/plugin.c index 08198cb6..349c76c4 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -368,10 +368,12 @@ plugin_load (session *sess, char *filename, char *arg) { void *handle; char *pluginpath; - char *error; char *filepart; hexchat_init_func *init_func; hexchat_deinit_func *deinit_func; +#ifndef USE_GMODULE + char *error; +#endif /* get the filename without path */ filepart = file_part (filename); -- cgit 1.4.1