If it's something I really don't care about and that really doesn't matter, I ask the team if we can change our warning policy.
By making sure that the build is always clean, I will not have to decide that a warning is irrelevant every time I encounter it. Ignoring things is mental work, and I need to get rid of all the unnecessary mental work I can.