Skip to content

Commit 2b5294b

Browse files
committed
Remove unused member variable middle_pgsql_t::m_mark_pending
1 parent 97bd724 commit 2b5294b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/middle-pgsql.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,6 @@ void middle_pgsql_t::start()
551551
// itself doesn't need to know about details of the output.
552552
if (m_out_options->output_backend == "gazetteer") {
553553
m_tables[WAY_TABLE].clear_array_indexes();
554-
m_mark_pending = false;
555554
}
556555

557556
if (m_append) {
@@ -708,7 +707,7 @@ static table_sql sql_for_relations() noexcept
708707
}
709708

710709
middle_pgsql_t::middle_pgsql_t(options_t const *options)
711-
: m_append(options->append), m_mark_pending(true), m_out_options(options),
710+
: m_append(options->append), m_out_options(options),
712711
m_cache(new node_ram_cache{options->alloc_chunkwise | ALLOC_LOSSY,
713712
options->cache}),
714713
m_db_connection(m_out_options->database_options.conninfo()),

src/middle-pgsql.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ struct middle_pgsql_t : public slim_middle_t
117117
table_desc m_tables[NUM_TABLES];
118118

119119
bool m_append;
120-
bool m_mark_pending;
121120
options_t const *m_out_options;
122121

123122
std::shared_ptr<node_ram_cache> m_cache;

0 commit comments

Comments
 (0)