maybe some type of ret has not been caught and equal to neither AVA_GETS_OK nor AVA_GETS_ERROR. nowadays processors have branch prediction, so you wont notice unlikely() is used or not.