variable never really used, as indicated by -W-unused-but-never-set on windows