It would point out you didn't use x and z, but you did use y so it wouldn't point that one out.
It's letting you know you probably have a logical error in your code (though you may see such warnings a lot while checking or compiling partially completed functions or the like). You can add underscores to silence the errors... but you could also make use of the variables, or remove them entirely if you don't need them.