I get this message all the time. If you check the syntax of your setratio16() function (place the cursor over this function, in the Methods tab of component inspector), you will notice that it returns data (byte type), and the return value is related to errors, so you can see if there were no errors with the function call. If you do not pass this value to a variable, you are ignoring the result of the function call, i.e., the error status. That's why you get the warning message.
If you do not care checking if the function call was successful (I usually do not care much, as long as the program does what I want it to), just create a dummy variable (of byte type), and place the function call result on it:
dummy = SetRatio16(x);
Then you will get rid of the warning message.