ApiQueryInfo: Remove unused variable