master: fix unused var warning