mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Fix some *other* compiler warnings from a different gcc version.
This commit is contained in:
@ -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
|
|||||||
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))
|
||||||
|
Reference in New Issue
Block a user