daemon/worker.c: fix warning from compilation without asserts
I kept the changes (especially the one in qr_task_on_send) as local as possible while hopefully preserving the invariants other functions in worker rely upon.
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
I kept the changes (especially the one in qr_task_on_send) as local as possible while hopefully preserving the invariants other functions in worker rely upon.