What impact does saving Brick have?

Depending on how you handled this quest a future quest will play out differently. In the sidequest, Second Conflict, both the main crew from Maelstrom or Brick himself will appear to V again as friends.

If you end things with Dum Dum and Royce peacefully, and they survive the Militech encounter, then they will appear during this quest, remembering the events of The Pickup.

If Dum Dum or Royce dies, or you ended things with them on negative terms, and Brick escapes the All Foods warehouse, then Brick will instead accompany you during Second Conflict. Having Brick on your side for this mission will give you more options for how to resolve it - he's a better talker than Dum Dum or Royce.

Of course, you can potentially let all of the above characters die here, and then the Second Conflict mission will have an entirely different character accompany you, one not seen in this quest at all, and will give you far fewer dialogue options for this quest later.

Source