svn commit: samba r19118 - in branches/SAMBA_4_0/source/lib/talloc: .

tridge at samba.org tridge at samba.org
Fri Oct 6 09:26:31 GMT 2006


Author: tridge
Date: 2006-10-06 09:26:29 +0000 (Fri, 06 Oct 2006)
New Revision: 19118

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19118

Log:

get rid of a bunch of bool misuse warnings

Modified:
   branches/SAMBA_4_0/source/lib/talloc/testsuite.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/talloc/testsuite.c
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/testsuite.c	2006-10-06 07:45:31 UTC (rev 19117)
+++ branches/SAMBA_4_0/source/lib/talloc/testsuite.c	2006-10-06 09:26:29 UTC (rev 19118)
@@ -1065,27 +1065,27 @@
 	talloc_disable_null_tracking();
 	talloc_enable_null_tracking();
 
-	ret &= test_ref1();
-	ret &= test_ref2();
-	ret &= test_ref3();
-	ret &= test_ref4();
-	ret &= test_unlink1();
-	ret &= test_misc();
-	ret &= test_realloc();
-	ret &= test_realloc_child();
-	ret &= test_steal();
-	ret &= test_move();
-	ret &= test_unref_reparent();
-	ret &= test_realloc_fn();
-	ret &= test_type();
-	ret &= test_lifeless();
-	ret &= test_loop();
-	ret &= test_free_parent_deny_child();
-	ret &= test_talloc_ptrtype();
+	ret = ret && test_ref1();
+	ret = ret && test_ref2();
+	ret = ret && test_ref3();
+	ret = ret && test_ref4();
+	ret = ret && test_unlink1();
+	ret = ret && test_misc();
+	ret = ret && test_realloc();
+	ret = ret && test_realloc_child();
+	ret = ret && test_steal();
+	ret = ret && test_move();
+	ret = ret && test_unref_reparent();
+	ret = ret && test_realloc_fn();
+	ret = ret && test_type();
+	ret = ret && test_lifeless();
+	ret = ret && test_loop();
+	ret = ret && test_free_parent_deny_child();
+	ret = ret && test_talloc_ptrtype();
 	if (ret) {
-		ret &= test_speed();
+		ret = ret &&  test_speed();
 	}
-	ret &= test_autofree();
+	ret = ret && test_autofree();
 
 	return ret;
 }



More information about the samba-cvs mailing list