           @taskQueue.addTask _.bind(@_processVariant, this, retailerVariant, retailerCustomerGroup, masterCustomerGroup, retailerChannelInMaster)
         Q.all(v)
         .then (infos) ->
-          x = _.reduce infos, ((acc, info) -> acc + info.updates), 0
+          _.reduce infos, ((acc, info) -> acc + info.updates), 0
 
   _processVariant: (retailerVariant, retailerCustomerGroup, masterCustomerGroup, retailerChannelInMaster) ->
     @getPublishedVariantByMasterSku(@masterClient, retailerVariant)

      retailerPrices: retailerPrices
      masterPrices: masterPrices


  _updatePrices: (retailerPrices, masterPrices, channelId, variantInMaster, retailerCustomerGroupId, masterCustomerGroupId) ->
    actions = []

    prices = @_filterPrices(retailerVariant, variantDataInMaster.variant, retailerCustomerGroup, masterCustomerGroup, retailerChannelInMaster)
    actions = @_updatePrices(prices.retailerPrices, prices.masterPrices, retailerChannelInMaster.id, variantDataInMaster.variant, retailerCustomerGroup.id, masterCustomerGroup.id)
      
    if _.isEmpty(actions)
      Q({ updates: 0 })

    else
