Suppress compiler warnings about uninitialized variables.
This commit is contained in:
parent
92e05bc6a5
commit
ec8128465f
@ -6,7 +6,7 @@
|
||||
* Copyright (c) 2009, PostgreSQL Global Development Group
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/contrib/unaccent/unaccent.c,v 1.1 2009/08/18 10:34:39 teodor Exp $
|
||||
* $PostgreSQL: pgsql/contrib/unaccent/unaccent.c,v 1.2 2009/08/18 15:37:04 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -174,7 +174,7 @@ Datum
|
||||
unaccent_init(PG_FUNCTION_ARGS)
|
||||
{
|
||||
List *dictoptions = (List *) PG_GETARG_POINTER(0);
|
||||
SuffixChar *rootSuffixTree;
|
||||
SuffixChar *rootSuffixTree = NULL;
|
||||
bool fileloaded = false;
|
||||
ListCell *l;
|
||||
|
||||
@ -218,7 +218,7 @@ unaccent_lexize(PG_FUNCTION_ARGS)
|
||||
SuffixChar *rootSuffixTree = (SuffixChar*)PG_GETARG_POINTER(0);
|
||||
char *srcchar = (char *) PG_GETARG_POINTER(1);
|
||||
int32 len = PG_GETARG_INT32(2);
|
||||
char *srcstart, *trgchar;
|
||||
char *srcstart, *trgchar = NULL;
|
||||
int charlen;
|
||||
TSLexeme *res = NULL;
|
||||
SuffixChar *node;
|
||||
|
Loading…
Reference in New Issue
Block a user