changeset 18859:d2a637585bfa

lib-fts: use NULL rather than 0 to shut up sparse Signed-off-by: Phil Carmody <phil@dovecot.fi>
author Phil Carmody <phil@dovecot.fi>
date Mon, 15 Jun 2015 14:55:01 +0300
parents 8bde19f080ad
children cac29b3a1e96
files src/lib-fts/fts-tokenizer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;