Bug with C99 for-loop variable initialization
Database_write fix with function error (goto require it)
Still: initialization discards ‘const’ and  control reaches end of non-void function [-Wreturn-typ
e
]