Can you get a ticket for it? Sure you can, you can get a ticket for any violation, real or not. I got a ticket for "No rear window" one time. Not obstructed, (and lacking two side mirrors) No rear window. Went to court with it, the look on the judge's face was priceless
One of the boys was writing equipment violations, telling the driver you have 10 days to repair a light or windshield.
It's 24 hours for a lighting defect. A cracked windshield 375-22 VTL wasn't. It was a regular ticket.
In Verbal Judo, for traffic stops. If you pull a driver over for moving violation and the vehicle has a cracked windshield, expired Inspection and the driver was nice. You can tell them that you let them off the mover but did write the non mover. Every job has one...