Remove unused local variables from core/includes/common.inc