postgres.git / summary / log / commit / refs
commit 13845d261c9843cc3617a5e44fba09335bce3e83
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Tue Aug 18 15:57:26 2009 +0000
First released in: 9.0.0
Fix some *other* compiler warnings from a different gcc version.
contrib/unaccent/unaccent.c | 6 +++---
1 file 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))
[parent: ed05063d2726]