Just a small patch to make multisync compile with gcc 2.95

/torkel
Index: src/syncengine.c
===================================================================
RCS file: /cvsroot/multisync/multisync/src/syncengine.c,v
retrieving revision 1.80
diff -u -r1.80 syncengine.c
--- src/syncengine.c	31 Mar 2004 21:31:04 -0000	1.80
+++ src/syncengine.c	6 Apr 2004 09:17:26 -0000
@@ -1083,6 +1083,7 @@
   int count = 0, totcount = 0, actualcount = 0;
   int fromlocal;
   gboolean success = TRUE;
+  sync_compare_result compare; 
 
   if (newdbs)
     sync_delete_all_idpairs(thissync, newdbs); // Remove outdated ID pairs if new database
@@ -1135,7 +1136,7 @@
 	  if (!uid) {*/
 	    // None of the two objects has a UID connection
 	    // If they are equal, just connect them
-	    sync_compare_result compare = 
+	    compare = 
 	      sync_compare_objects(robj->comp, lobj->comp, lobj->object_type);
 	    if (compare == SYNC_COMPARE_EQUAL) {
 	      sync_insert_idpair(lobj->uid, robj->uid, 

Reply via email to