aio: fix -Wunused-but-set-variable