File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1010 * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
1111 *
1212 * IDENTIFICATION
13- * $PostgreSQL: pgsql/src/backend/utils/misc/help_config.c,v 1.10 2004/05/26 15:07:39 momjian Exp $
13+ * $PostgreSQL: pgsql/src/backend/utils/misc/help_config.c,v 1.11 2004/06/02 18:09:32 tgl Exp $
1414 *
1515 *-------------------------------------------------------------------------
1616 */
@@ -46,13 +46,16 @@ static bool displayStruct(mixedStruct *structToDisplay);
4646int
4747GucInfoMain (void )
4848{
49- int i ;
50- struct config_generic * * guc_vars = get_guc_variables ();
51- int numOpts = GetNumConfigOptions () ;
49+ struct config_generic * * guc_vars ;
50+ int numOpts ,
51+ i ;
5252
5353 /* Initialize the guc_variables[] array */
5454 build_guc_variables ();
5555
56+ guc_vars = get_guc_variables ();
57+ numOpts = GetNumConfigOptions ();
58+
5659 for (i = 0 ; i < numOpts ; i ++ )
5760 {
5861 mixedStruct * var = (mixedStruct * ) guc_vars [i ];
You can’t perform that action at this time.
0 commit comments