clang gives a bunch of "variable 'e' set but not used" -warnings.
Reply To cazfi
clang gives a bunch of "variable 'e' set but not used" -warnings.
These indicate real bug - the "use" would be checking the error value, and certainly it should be made when ever error might have been set.
Reply To cazfi
the "use" would be checking the error value, and certainly it should be made when ever error might have been set.
Fixed.
Split from https://www.hostedredmine.com/issues/745593 and continuation to #44458
Turn dio_put_*() return value to int, though all the functions can return just 0 at this point. Port parts of generate_packets.py changes from https://www.hostedredmine.com/issues/745593 that the API change allows.