summaryrefslogtreecommitdiffstats
path: root/source4/lib/talloc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-10-06 09:26:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:36 -0500
commit18278a5560db58d447f4b0a5701fefb70383a048 (patch)
tree2bd8d2c1ea5c805ad54f0c7522b82097979194a6 /source4/lib/talloc
parent8f3c1e9fdb494e2ceeff4151a403a74c3676a9fd (diff)
downloadsamba-18278a5560db58d447f4b0a5701fefb70383a048.tar.gz
samba-18278a5560db58d447f4b0a5701fefb70383a048.tar.xz
samba-18278a5560db58d447f4b0a5701fefb70383a048.zip
r19118: get rid of a bunch of bool misuse warnings
(This used to be commit e620f44643caf93a8bcb203a966c986c14a8dc0e)
Diffstat (limited to 'source4/lib/talloc')
-rw-r--r--source4/lib/talloc/testsuite.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/source4/lib/talloc/testsuite.c b/source4/lib/talloc/testsuite.c
index 70ee35cbef6..1a2a60a3a36 100644
--- a/source4/lib/talloc/testsuite.c
+++ b/source4/lib/talloc/testsuite.c
@@ -1065,27 +1065,27 @@ bool torture_local_talloc(struct torture_context *torture)
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;
}