The NULL case can not regularly be reached (because regularly gcoap_register_listener sets thel link_encoder to a default one), but if it is (eg. because an application unsets its link_encoder to hide a resource set at runtime), the existing `continue` is a good idea (skip over this entry) but erroneously created an endless loop by skipping the advancement step.