projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cd2f26
)
Suppress compiler warnings about uninitialized variables.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 18 Aug 2009 15:37:04 +0000
(15:37 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 18 Aug 2009 15:37:04 +0000
(15:37 +0000)
contrib/unaccent/unaccent.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/unaccent/unaccent.c
b/contrib/unaccent/unaccent.c
index 924697f39c584485e96bfb06e0dbae68b11307ef..168dbb4014e47975b587e46f68b16d2d9c3a961e 100644
(file)
--- a/
contrib/unaccent/unaccent.c
+++ b/
contrib/unaccent/unaccent.c
@@
-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;