Commit 1d2a185e authored by Bruce Momjian's avatar Bruce Momjian

Suppress compiler warning in a different way, per Alvaro.

parent b32a290b
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/common/reloptions.c,v 1.14 2009/01/06 02:44:17 momjian Exp $ * $PostgreSQL: pgsql/src/backend/access/common/reloptions.c,v 1.15 2009/01/06 03:15:51 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -667,7 +667,7 @@ parse_one_reloption(relopt_value *option, char *text_str, int text_len, ...@@ -667,7 +667,7 @@ parse_one_reloption(relopt_value *option, char *text_str, int text_len,
{ {
char *value; char *value;
int value_len; int value_len;
bool parsed = true; /* quiet compiler */ bool parsed;
bool nofree = false; bool nofree = false;
if (option->isset && validate) if (option->isset && validate)
...@@ -736,6 +736,7 @@ parse_one_reloption(relopt_value *option, char *text_str, int text_len, ...@@ -736,6 +736,7 @@ parse_one_reloption(relopt_value *option, char *text_str, int text_len,
break; break;
default: default:
elog(ERROR, "unsupported reloption type %d", option->gen->type); elog(ERROR, "unsupported reloption type %d", option->gen->type);
parsed = true; /* quiet compiler */
break; break;
} }
......
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