Correct some clang-tidy warnings
The tool “clang-tidy” points some questionable source code places out.
Example:
Hint “Value stored to 'ret' is never read” ⇒ camel_db_create_message_info_table
I find that the error detection and corresponding exception handling is incomplete here.
Edited by Milan Crha