30 Apr
2021
30 Apr
'21
1:23 p.m.
On Thu, Apr 29, 2021 at 10:36:42AM -0700, trix@redhat.com wrote:
The happens because 'ec_tx' is never initialized and there is no default in the switch statement that sets ec_tx. Because there are only two cases for the switch, convert it to an if-else.
Add a default case that errors, that way if someone adds a new option things are less painful.