You'll also want to look at the machine itself. Devices called card skimmers are becoming more common and, while there is no universal signal that an ATM is compromised, if something seems off about how the card slot looks then you'll just want to find another machine to use.
Only use ATMs during the day in well trafficked areas, if possible.