bdr: Remove further pre C99 incompatibility.
authorAndres Freund <andres@anarazel.de>
Tue, 29 Apr 2014 18:27:48 +0000 (20:27 +0200)
committerAndres Freund <andres@anarazel.de>
Thu, 3 Jul 2014 15:55:29 +0000 (17:55 +0200)
contrib/bdr/bdr_init_replica.c

index cadbce82af6ddbd5bc9bfa708a10c2b3e197baf3..30875da9529ae2608bceafa0af1dba6d543de598 100644 (file)
@@ -107,9 +107,8 @@ bdr_get_remote_status(PGconn *pgconn, Name dbname)
 {
    PGresult           *res;
    char                status;
-   const int           n_params = 2;
    Oid                 param_types[] = {NUMERICOID, TEXTOID};
-   const char         *param_values[n_params];
+   const char         *param_values[2];
    /* Needs to fit max length of UINT64_FORMAT */
    char                sysid_str[33];