Added warning about return from function