Skip to content

nouveau: add returns following assert(0)

coypoop requested to merge coypoop/mesa:assert-returns into main

If asserts are compiled out, we reach the end of a non-void function and return garbage.

This seems to be the current practice - assert invalid values, return something (because we have to).

Also fixes -Werror builds in such cases.

Merge request reports