dovecot-2.2: lib: Another test_assert() -> i_assert() change to ...

dovecot at dovecot.org dovecot at dovecot.org
Thu Feb 19 11:06:14 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/ca7441fc784e
changeset: 18266:ca7441fc784e
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Feb 19 13:05:31 2015 +0200
description:
lib: Another test_assert() -> i_assert() change to avoid static analyzer warnings.

diffstat:

 src/lib/test-data-stack.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c8aeb0cb4a6e -r ca7441fc784e src/lib/test-data-stack.c
--- a/src/lib/test-data-stack.c	Thu Feb 19 13:03:46 2015 +0200
+++ b/src/lib/test-data-stack.c	Thu Feb 19 13:05:31 2015 +0200
@@ -96,7 +96,7 @@
 	int try_fails = 0;
 	unsigned int t_id = t_push_named("test_ds_recurse[%i]", depth);
 	ps = t_buffer_get_type(char *, number);
-	test_assert_idx(ps != NULL, depth);
+	i_assert(ps != NULL);
 	t_buffer_alloc_type(char *, number);
 
 	for (i = 0; i < number; i++) {


More information about the dovecot-cvs mailing list