Commit 13845d26 authored by Tom Lane's avatar Tom Lane

Fix some *other* compiler warnings from a different gcc version.

parent ed05063d
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Copyright (c) 2009, PostgreSQL Global Development Group * Copyright (c) 2009, PostgreSQL Global Development Group
* *
* IDENTIFICATION * 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 ...@@ -78,10 +78,10 @@ placeChar(SuffixChar *node, unsigned char *str, int lenstr, char *replaceTo, int
static SuffixChar* static SuffixChar*
initSuffixTree(char *filename) initSuffixTree(char *filename)
{ {
SuffixChar *rootSuffixTree = NULL; SuffixChar * volatile rootSuffixTree = NULL;
MemoryContext ccxt = CurrentMemoryContext; MemoryContext ccxt = CurrentMemoryContext;
tsearch_readline_state trst; tsearch_readline_state trst;
bool skip; volatile bool skip;
filename = get_tsearch_config_filename(filename, "rules"); filename = get_tsearch_config_filename(filename, "rules");
if (!tsearch_readline_begin(&trst, filename)) if (!tsearch_readline_begin(&trst, filename))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment