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 66 * Copyright (c) 2009, PostgreSQL Global Development Group
77 *
88 * 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 $
1010 *
1111 *-------------------------------------------------------------------------
1212 */
@@ -174,7 +174,7 @@ Datum
174174unaccent_init (PG_FUNCTION_ARGS )
175175{
176176 List * dictoptions = (List * ) PG_GETARG_POINTER (0 );
177- SuffixChar * rootSuffixTree ;
177+ SuffixChar * rootSuffixTree = NULL ;
178178 bool fileloaded = false;
179179 ListCell * l ;
180180
@@ -218,7 +218,7 @@ unaccent_lexize(PG_FUNCTION_ARGS)
218218 SuffixChar * rootSuffixTree = (SuffixChar * )PG_GETARG_POINTER (0 );
219219 char * srcchar = (char * ) PG_GETARG_POINTER (1 );
220220 int32 len = PG_GETARG_INT32 (2 );
221- char * srcstart , * trgchar ;
221+ char * srcstart , * trgchar = NULL ;
222222 int charlen ;
223223 TSLexeme * res = NULL ;
224224 SuffixChar * node ;
You can’t perform that action at this time.
0 commit comments