You can ignore the message. Otherwise, you may change it from setting menu.
Go to setting on your phone.
Then select sound setting.
In sound setting menu you can find the option to switch off the warning message.
It varies on phone model. If you don't find then go to advance setting or developer option and you will get appropriate setting there. Thanks