diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-08-18 15:57:26 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-08-18 15:57:26 +0000 |
commit | 13845d261c9843cc3617a5e44fba09335bce3e83 (patch) | |
tree | 2fa4e7e831f8ad86c437b0df5faab5cd3ebe0d6d | |
parent | ed05063d272686ffc2de1d21991703a01098b60c (diff) | |
download | postgresql-13845d261c9843cc3617a5e44fba09335bce3e83.tar.gz postgresql-13845d261c9843cc3617a5e44fba09335bce3e83.zip |
Fix some *other* compiler warnings from a different gcc version.
-rw-r--r-- | contrib/unaccent/unaccent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/unaccent/unaccent.c b/contrib/unaccent/unaccent.c index 2dddfd9f0fd..19bcd735c2e 100644 --- a/contrib/unaccent/unaccent.c +++ b/contrib/unaccent/unaccent.c @@ -6,7 +6,7 @@ * Copyright (c) 2009, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/contrib/unaccent/unaccent.c,v 1.2 2009/08/18 15:37:04 tgl Exp $ + * $PostgreSQL: pgsql/contrib/unaccent/unaccent.c,v 1.3 2009/08/18 15:57:26 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -78,10 +78,10 @@ placeChar(SuffixChar *node, unsigned char *str, int lenstr, char *replaceTo, int static SuffixChar* initSuffixTree(char *filename) { - SuffixChar *rootSuffixTree = NULL; + SuffixChar * volatile rootSuffixTree = NULL; MemoryContext ccxt = CurrentMemoryContext; tsearch_readline_state trst; - bool skip; + volatile bool skip; filename = get_tsearch_config_filename(filename, "rules"); if (!tsearch_readline_begin(&trst, filename)) |