Muting warnings caused by not checking for return value of current() function