Skip to contentSkip to conversation

cluster/rgmanager/src clulib/tmgr.c daemons/rg ...

Cluster-devel [email protected] 1 participant 1 message Jul 24, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: lhh at sourceware.org 2007-07-24 13:58:47

Modified files:
rgmanager/src/clulib: tmgr.c
rgmanager/src/daemons: rg_thread.c

Log message:
Fix minor warnings

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/clulib/tmgr.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_thread.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.15.2.8&r2=1.15.2.9

rgmanager/src/clulib/tmgr.c +1 -1
@@ -82,7 +82,7 @@
 	if (new) {
 		new->th = *th;
 		new->fn = start_routine;
-		new->name = backtrace_symbols(&new->fn, 1);
+		new->name = backtrace_symbols(&fn, 1);
 		pthread_rwlock_wrlock(&_tlock);
 		list_insert(&_tlist, new);
 		++_tcount;
rgmanager/src/daemons/rg_thread.c +0 -1
@@ -579,7 +579,6 @@
 	int ret;
 	resthread_t *resgroup = NULL;
 
-retry:
 	pthread_mutex_lock(&reslist_mutex);
 	while (resgroup == NULL) {
 		resgroup = find_resthread_byname(resgroupname);