I wouldn't call them stupid. They are good warnings. It's a good thing to make secure applications!
Just "to get rid of the warnings" would do fine.