Просмотр исходного кода

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 16 лет назад
Родитель
Сommit
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;
 	unsigned int libs_to_scan;
 	char dl_name[1024];
+#ifdef COROSYNC_SOLARIS
 	void (*comp_reg)(void);
+#endif
 
 	scandir_entries = scandir (path,  &scandir_list, lcr_select_so, alphasort);
 	if (scandir_entries > 0)