ascii_enforce(): removed useless expression in for() loop.
get_results_set(): added const qualifications.
Fixed compiler warnings.