]> sigrok.org Git - libsigrok.git/commit
output/csv: reduce indentation in process_analog()
authorGerhard Sittig <redacted>
Sun, 4 Mar 2018 16:51:29 +0000 (17:51 +0100)
committerUwe Hermann <redacted>
Mon, 12 Mar 2018 14:55:22 +0000 (15:55 +0100)
commitb078dddb849829be05093bbce5a7056fa2fc0eb7
tree8b105f3da932121db01db1552c75a3a00d455216
parent94cf02d0c24580322fdf9238a96a563205b943d2
output/csv: reduce indentation in process_analog()

Instead of nesting indentation levels upon equality of a value, skip
iterations upon inequality. This reduces indentation, and might improve
readability.

[ Indentation changes, see 'diff -w -b' for the essence. ]
src/output/csv.c