minor: fix windows unused var warning