dovecot-2.2: lib-fts: use NULL rather than 0 to shut up sparse

dovecot at dovecot.org dovecot at dovecot.org
Mon Jun 15 11:58:37 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/d2a637585bfa
changeset: 18859:d2a637585bfa
user:      Phil Carmody <phil at dovecot.fi>
date:      Mon Jun 15 14:55:01 2015 +0300
description:
lib-fts: use NULL rather than 0 to shut up sparse
Signed-off-by: Phil Carmody <phil at dovecot.fi>

diffstat:

 src/lib-fts/fts-tokenizer.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8bde19f080ad -r d2a637585bfa src/lib-fts/fts-tokenizer.c
--- a/src/lib-fts/fts-tokenizer.c	Mon Jun 15 14:54:58 2015 +0300
+++ b/src/lib-fts/fts-tokenizer.c	Mon Jun 15 14:55:01 2015 +0300
@@ -89,7 +89,7 @@
 		settings = &empty_settings;
 
 	if (tok_class->v->create(settings, &tok, error_r) < 0) {
-		*tokenizer_r = 0;
+		*tokenizer_r = NULL;
 		return -1;
 	}
 	tok->refcount = 1;


More information about the dovecot-cvs mailing list