COMP: Fix unused-but-set-variable warnings reported in #21.