Always return some value from get_column_func()

NULL in case of error.
Remove dead code from engine/parsing.c
Always return values from functions in var.c
Change 2nd param of add_assoc_records() to pointer
Merge branch 'minor-code-enhancements-after-static-analysis'

Fix several issues found by another static analyzer.