osx_write.c: Kill an unused variable