summary refs log tree commit diff stats
path: root/src/common/plugin.c
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-04-15 22:03:03 -0300
committerTingPing <tngpng@gmail.com>2013-04-15 22:03:03 -0300
commitb856065167662f057481e96d6669d9c9b77ae533 (patch)
treea8736d857062819836d07247e425af178608ca5b /src/common/plugin.c
parentf3efdaf40f010c8c0aa8d09df8c9f07afbec74af (diff)
fix warning
Diffstat (limited to 'src/common/plugin.c')
-rw-r--r--src/common/plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/plugin.c b/src/common/plugin.c
index 349c76c4..4e841717 100644
--- a/src/common/plugin.c
+++ b/src/common/plugin.c
@@ -367,12 +367,13 @@ char *
 plugin_load (session *sess, char *filename, char *arg)
 {
 	void *handle;
-	char *pluginpath;
 	char *filepart;
 	hexchat_init_func *init_func;
 	hexchat_deinit_func *deinit_func;
 #ifndef USE_GMODULE
 	char *error;
+#else
+	char *pluginpath;
 #endif
 
 	/* get the filename without path */