Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Jun 15, 2024
1 parent 718ada7 commit d2799fd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/gen/osm2pgsql-gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,14 +250,6 @@ class genproc_t

int app_define_table()
{
#if 0
if (m_calling_context != calling_context::main) {
throw std::runtime_error{
"Database tables have to be defined in the"
" main Lua code, not in any of the callbacks."};
}
#endif

return setup_flex_table(m_lua_state.get(), &m_tables, &m_expire_outputs,
m_dbschema, true, m_append);
}
Expand Down

0 comments on commit d2799fd

Please sign in to comment.