Core: Remove some unused variables

Just removes 3 unused vars.