rmdec: remove unused variable