Crude-oil prices climbed on Wednesday, building on gains from earlier in the week as traders assessed fresh supply data while monitoring geopolitical developments on several fronts.