File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
* Copyright (c) 2009, PostgreSQL Global Development Group
7
7
*
8
8
* IDENTIFICATION
9
- * $PostgreSQL: pgsql/contrib/unaccent/unaccent.c,v 1.1 2009/08/18 10:34:39 teodor Exp $
9
+ * $PostgreSQL: pgsql/contrib/unaccent/unaccent.c,v 1.2 2009/08/18 15:37:04 tgl Exp $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
@@ -174,7 +174,7 @@ Datum
174
174
unaccent_init (PG_FUNCTION_ARGS )
175
175
{
176
176
List * dictoptions = (List * ) PG_GETARG_POINTER (0 );
177
- SuffixChar * rootSuffixTree ;
177
+ SuffixChar * rootSuffixTree = NULL ;
178
178
bool fileloaded = false;
179
179
ListCell * l ;
180
180
@@ -218,7 +218,7 @@ unaccent_lexize(PG_FUNCTION_ARGS)
218
218
SuffixChar * rootSuffixTree = (SuffixChar * )PG_GETARG_POINTER (0 );
219
219
char * srcchar = (char * ) PG_GETARG_POINTER (1 );
220
220
int32 len = PG_GETARG_INT32 (2 );
221
- char * srcstart , * trgchar ;
221
+ char * srcstart , * trgchar = NULL ;
222
222
int charlen ;
223
223
TSLexeme * res = NULL ;
224
224
SuffixChar * node ;
You can’t perform that action at this time.
0 commit comments