libmodbus
libmodbus copied to clipboard
Remove redundant check and guard debug output
I found two minor issues:
- we can remove a redundant check
- ~print error message only when debug output is enabled to be consistent with other functions~
Edit: updated description after force-push (second issue was meanwhile fixed, so I dropped the commit)
Stumbled over this old PR; issues are still present, so I've rebased and updated it.
Any reason to not merge this?