]> sigrok.org Git - sigrok-cli.git/commit
decode: improve readability, use intermediate variables
authorGerhard Sittig <redacted>
Fri, 19 Apr 2019 12:55:52 +0000 (14:55 +0200)
committerGerhard Sittig <redacted>
Sat, 20 Apr 2019 09:27:20 +0000 (11:27 +0200)
commitd6ebfaa8b6ceaf6f6b07c7d115e40fc3a7fde0cf
treed99ac4fe816de4fc295e0791e1ae2ad002162a30
parent8f72edc3522b73ce55677e3ac4d7701726e574fd
decode: improve readability, use intermediate variables

Replace repeated complex keyval[] references with open coded indices by
respectively named variables. Also use 'ann_id' for an often referenced
annotation ID text string, for consistency with decoder ID.
decode.c