c: remove unused variable