* treewide: remove unused variables * making ofborg happy
Original derivation for version 0.4.18 by Chiiruno. With minor fixes by yegortimoshenko. Updated by 0.5.2.1 by abbradar.