From 13845d261c9843cc3617a5e44fba09335bce3e83 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 18 Aug 2009 15:57:26 +0000 Subject: [PATCH] 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 2dddfd9f0f..19bcd735c2 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)) -- 2.40.0