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

Commit fe0062c

Browse files
committed
Remove unused variables.
g_comment_start and g_comment_end have been unused since commit 30ab5bd. Daniel Gustafsson Discussion: https://postgr.es/m/2CA1BA9F-CDF9-41BE-96A1-2EFD2A3EA6CA@yesql.se
1 parent b31d6ef commit fe0062c

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,6 @@ static SimpleOidList tabledata_exclude_oids = {NULL, NULL};
122122
static SimpleStringList foreign_servers_include_patterns = {NULL, NULL};
123123
static SimpleOidList foreign_servers_include_oids = {NULL, NULL};
124124

125-
126-
/* placeholders for the delimiters for comments */
127-
char g_comment_start[10];
128-
char g_comment_end[10];
129-
130125
static const CatalogId nilCatalogId = {0, 0};
131126

132127
/* override for standard extra_float_digits setting */
@@ -405,9 +400,6 @@ main(int argc, char **argv)
405400
*/
406401
init_parallel_dump_utils();
407402

408-
strcpy(g_comment_start, "-- ");
409-
g_comment_end[0] = '\0';
410-
411403
progname = get_progname(argv[0]);
412404

413405
if (argc > 1)

src/bin/pg_dump/pg_dump.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -639,10 +639,6 @@ typedef struct _extensionMemberId
639639
ExtensionInfo *ext; /* owning extension */
640640
} ExtensionMemberId;
641641

642-
/* placeholders for comment starting and ending delimiters */
643-
extern char g_comment_start[10];
644-
extern char g_comment_end[10];
645-
646642
/*
647643
* common utility functions
648644
*/

0 commit comments

Comments
 (0)