Dw fix warning

Removed some warnings from erl_db. Still some in .yrl.