Are you guys serious right now? Police pull over whoever they can, whenever they can. It's their job.
I'd be glad it was just a warning and you didn't get a fix it ticket. With a fix it ticket, you would have to have had it signed off by an officer who you would have to prove to that your car is legal.
The way I see it, anytime you get a warning, you get off lucky.