Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1d2a185

Browse files
committed
Suppress compiler warning in a different way, per Alvaro.
1 parent b32a290 commit 1d2a185

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/access/common/reloptions.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/common/reloptions.c,v 1.14 2009/01/06 02:44:17 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/common/reloptions.c,v 1.15 2009/01/06 03:15:51 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -667,7 +667,7 @@ parse_one_reloption(relopt_value *option, char *text_str, int text_len,
667667
{
668668
char *value;
669669
int value_len;
670-
bool parsed = true; /* quiet compiler */
670+
bool parsed;
671671
bool nofree = false;
672672

673673
if (option->isset && validate)
@@ -736,6 +736,7 @@ parse_one_reloption(relopt_value *option, char *text_str, int text_len,
736736
break;
737737
default:
738738
elog(ERROR, "unsupported reloption type %d", option->gen->type);
739+
parsed = true; /* quiet compiler */
739740
break;
740741
}
741742

0 commit comments

Comments
 (0)