summaryrefslogtreecommitdiff
path: root/myisam/ft_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/ft_parser.c')
-rw-r--r--myisam/ft_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/ft_parser.c b/myisam/ft_parser.c
index 22826c68889..5f5159a57dd 100644
--- a/myisam/ft_parser.c
+++ b/myisam/ft_parser.c
@@ -87,7 +87,7 @@ FT_WORD * ft_linearize(MI_INFO *info, uint keynr, byte *keybuf, TREE *wtree)
}
delete_tree(wtree);
my_free((char*) wtree,MYF(0));
- if (wlist==NULL)
+ if (!wlist)
return NULL;
docstat.list->pos=NULL;