Skip to content

Commit d2799fd

Browse files
committed
Remove unused code
1 parent 718ada7 commit d2799fd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/gen/osm2pgsql-gen.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -250,14 +250,6 @@ class genproc_t
250250

251251
int app_define_table()
252252
{
253-
#if 0
254-
if (m_calling_context != calling_context::main) {
255-
throw std::runtime_error{
256-
"Database tables have to be defined in the"
257-
" main Lua code, not in any of the callbacks."};
258-
}
259-
#endif
260-
261253
return setup_flex_table(m_lua_state.get(), &m_tables, &m_expire_outputs,
262254
m_dbschema, true, m_append);
263255
}

0 commit comments

Comments
 (0)