Even a void
function returns, it just doesn't return a value. A return;
means that it goes back to where it was called in the previous function, with or without a new value. Any function will have an automatic return at the end in C, as @Matthias said previously. If the compiler reaches the end bracket of the function, it will return. I believe you need to leave the function with another function call or something similar to get rid of the warning.
I hope this helps.