Skip to content

Commit 13845d2

Browse files
committed
Fix some *other* compiler warnings from a different gcc version.
1 parent ed05063 commit 13845d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/unaccent/unaccent.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Copyright (c) 2009, PostgreSQL Global Development Group
77
*
88
* IDENTIFICATION
9-
* $PostgreSQL: pgsql/contrib/unaccent/unaccent.c,v 1.2 2009/08/18 15:37:04 tgl Exp $
9+
* $PostgreSQL: pgsql/contrib/unaccent/unaccent.c,v 1.3 2009/08/18 15:57:26 tgl Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -78,10 +78,10 @@ placeChar(SuffixChar *node, unsigned char *str, int lenstr, char *replaceTo, int
7878
static SuffixChar*
7979
initSuffixTree(char *filename)
8080
{
81-
SuffixChar *rootSuffixTree = NULL;
81+
SuffixChar * volatile rootSuffixTree = NULL;
8282
MemoryContext ccxt = CurrentMemoryContext;
8383
tsearch_readline_state trst;
84-
bool skip;
84+
volatile bool skip;
8585

8686
filename = get_tsearch_config_filename(filename, "rules");
8787
if (!tsearch_readline_begin(&trst, filename))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy