4
0
Эх сурвалжийг харах

avoid compiler warnings

* lcr/lcr_ifact.c (lcr_component_register): Remove decl of unused var.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1900 fd59a12c-fef9-0310-b244-a6a79926bd2f
Jim Meyering 17 жил өмнө
parent
commit
0206982964
1 өөрчлөгдсөн 0 нэмэгдсэн , 1 устгасан
  1. 0 1
      lcr/lcr_ifact.c

+ 0 - 1
lcr/lcr_ifact.c

@@ -521,7 +521,6 @@ void lcr_component_register (struct lcr_comp *comp)
 {
 {
 	struct lcr_component_instance *instance;
 	struct lcr_component_instance *instance;
 	static hdb_handle_t comp_handle;
 	static hdb_handle_t comp_handle;
-	int res;
 
 
 	hdb_handle_create (&lcr_component_instance_database,
 	hdb_handle_create (&lcr_component_instance_database,
 		sizeof (struct lcr_component_instance),
 		sizeof (struct lcr_component_instance),