]> sigrok.org Git - libsigrok.git/commit
rdtech-um: style nits, move assignment out of declaration blocks
authorGerhard Sittig <redacted>
Wed, 15 Mar 2023 16:03:02 +0000 (17:03 +0100)
committerGerhard Sittig <redacted>
Thu, 16 Mar 2023 13:29:30 +0000 (14:29 +0100)
commitfda34e5af6e7a11744035c1c8df2f2b2f95cf1d8
tree3cd2a1a0cb3de38b33c79451f5fd293f643f4fc4
parentdca972f8ba1eca12fd462bd97788b18c8953ce64
rdtech-um: style nits, move assignment out of declaration blocks

Move initial assigment, subsequent updates, and checks of resulting
variable content closer to each other. Don't hide code in declaration
blocks. Eliminate redundant assignments that don't take effect, yet
can hide programming errors. Increases awareness during maintenance.
src/hardware/rdtech-um/api.c
src/hardware/rdtech-um/protocol.c