From dd16f9480ac67ab0c6b0102d110cd5121ed9ab46 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 16 Jul 2012 22:15:03 +0300 Subject: Remove unreachable code The Solaris Studio compiler warns about these instances, unlike more mainstream compilers such as gcc. But manual inspection showed that the code is clearly not reachable, and we hope no worthy compiler will complain about removing this code. --- src/backend/tsearch/dict_thesaurus.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/backend/tsearch') diff --git a/src/backend/tsearch/dict_thesaurus.c b/src/backend/tsearch/dict_thesaurus.c index 7e641ef64f5..1f52372a48d 100644 --- a/src/backend/tsearch/dict_thesaurus.c +++ b/src/backend/tsearch/dict_thesaurus.c @@ -744,8 +744,6 @@ findVariant(LexemeInfo *in, LexemeInfo *stored, uint16 curpos, LexemeInfo **newi for (i = 0; i < newn; i++) newin[i] = newin[i]->nextentry; } - - return NULL; } static TSLexeme * -- cgit v1.2.3