code cleanup of build warnings

Remove unused local function unquote().
Match virtual method arguments to prevent hiding.