Yup, this looks fine. The return value of that function isn't used. :)