dbus/dbus dbus-connection.c,1.108,1.109

Ross Burton ross at freedesktop.org
Sat Jul 30 00:44:01 EST 2005


Update of /cvs/dbus/dbus/dbus
In directory gabe:/tmp/cvs-serv31057/dbus

Modified Files:
	dbus-connection.c 
Log Message:
Remove unused condvar

Index: dbus-connection.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-connection.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -d -r1.108 -r1.109
--- dbus-connection.c	15 Jun 2005 16:20:28 -0000	1.108
+++ dbus-connection.c	29 Jul 2005 14:43:59 -0000	1.109
@@ -1076,7 +1076,6 @@
   DBusMutex *mutex;
   DBusMutex *io_path_mutex;
   DBusMutex *dispatch_mutex;
-  DBusCondVar *message_returned_cond;
   DBusCondVar *dispatch_cond;
   DBusCondVar *io_path_cond;
   DBusList *disconnect_link;
@@ -1091,7 +1090,6 @@
   mutex = NULL;
   io_path_mutex = NULL;
   dispatch_mutex = NULL;
-  message_returned_cond = NULL;
   dispatch_cond = NULL;
   io_path_cond = NULL;
   disconnect_link = NULL;
@@ -1130,10 +1128,6 @@
   if (dispatch_mutex == NULL)
     goto error;
   
-  message_returned_cond = _dbus_condvar_new ();
-  if (message_returned_cond == NULL)
-    goto error;
-  
   dispatch_cond = _dbus_condvar_new ();
   if (dispatch_cond == NULL)
     goto error;
@@ -1214,9 +1208,6 @@
   if (dispatch_cond != NULL)
     _dbus_condvar_free (dispatch_cond);
   
-  if (message_returned_cond != NULL)
-    _dbus_condvar_free (message_returned_cond);
-  
   if (mutex != NULL)
     _dbus_mutex_free (mutex);
 



More information about the dbus-commit mailing list