If you happen to see an animal locked in a hot car with the windows up, please call the police and let them handle the rescue. This prevents you from being liable for any damages to car windows. While keeping an animal in a car with the windows up is against city ordinance, you could still be held liable. Voilators who leave an animal locked in a car will face a citation and could also go to jail.
Ordinance Sec. 5-15. - Safety of animals in motor vehicles.