I probably could, but I find this a good safeguard in case some function inside the loop inadvertently sets the global `errno`.