Remove unused variables.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 18 May 2020 17:21:36 +0000 (13:21 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 18 May 2020 17:21:36 +0000 (13:21 -0400)
g_comment_start and g_comment_end have been unused since commit
30ab5bd43d8f2082659191de8ae19be98c960ad7.

Daniel Gustafsson

Discussion: https://postgr.es/m/2CA1BA9F-CDF9-41BE-96A1-2EFD2A3EA6CA@yesql.se

src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h

index f33c2463a7279e25fbd28913c2a583ff709a54d7..a4e949c636d4cb55ae413f40385e10d51b51a76e 100644 (file)
@@ -122,11 +122,6 @@ static SimpleOidList tabledata_exclude_oids = {NULL, NULL};
 static SimpleStringList foreign_servers_include_patterns = {NULL, NULL};
 static SimpleOidList foreign_servers_include_oids = {NULL, NULL};
 
-
-/* placeholders for the delimiters for comments */
-char       g_comment_start[10];
-char       g_comment_end[10];
-
 static const CatalogId nilCatalogId = {0, 0};
 
 /* override for standard extra_float_digits setting */
@@ -405,9 +400,6 @@ main(int argc, char **argv)
     */
    init_parallel_dump_utils();
 
-   strcpy(g_comment_start, "-- ");
-   g_comment_end[0] = '\0';
-
    progname = get_progname(argv[0]);
 
    if (argc > 1)
index 5f70400b257d7289b98fe503f96d96d7175be999..0c2fcfb3a9ca42a973e246331e86af94e8cca06d 100644 (file)
@@ -639,10 +639,6 @@ typedef struct _extensionMemberId
    ExtensionInfo *ext;         /* owning extension */
 } ExtensionMemberId;
 
-/* placeholders for comment starting and ending delimiters */
-extern char g_comment_start[10];
-extern char g_comment_end[10];
-
 /*
  * common utility functions
  */