Переглянути джерело

Remove unused variable on platforms other then Solaris.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2230 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 17 роки тому
батько
коміт
f7328b7930
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      lcr/lcr_ifact.c

+ 2 - 0
lcr/lcr_ifact.c

@@ -365,7 +365,9 @@ static int interface_find_and_load (
 	int scandir_entries;
 	int scandir_entries;
 	unsigned int libs_to_scan;
 	unsigned int libs_to_scan;
 	char dl_name[1024];
 	char dl_name[1024];
+#ifdef COROSYNC_SOLARIS
 	void (*comp_reg)(void);
 	void (*comp_reg)(void);
+#endif
 
 
 	scandir_entries = scandir (path,  &scandir_list, lcr_select_so, alphasort);
 	scandir_entries = scandir (path,  &scandir_list, lcr_select_so, alphasort);
 	if (scandir_entries > 0)
 	if (scandir_entries > 0)