summaryrefslogtreecommitdiff
path: root/hwpfilter/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-07 10:50:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-07 11:32:43 +0200
commit41e2f345486f3e5acf7a240e52146fe9b2811c6f (patch)
treecedc5cc83cbc96939d5cffd62b6bf9c35d35aabb /hwpfilter/qa
parent205f85749d4245ddb80657829af74fc1de23622c (diff)
clang-analyzer-deadcode.DeadStores
The code had been like this ever since 16cba77220efab8204eeecb49ccd3ec033efca38 "#112673# initial checkin of HWP filter." Assuming that the second line should rather read angle = 1800 - angle * 10; instead of angle = 1800 - prop->angle * 10; does not look too plausible: It would keep mapping -1 -> 181 0 -> 180 1 -> 179 : 179 -> 1 but then would discontinuously map 180 -> 180 181 -> 179 : instead of continuously mapping 180 -> 0 181 -> -1 : Change-Id: I8cf97eeb53409b18bda6777b09a20331f3c8132a
Diffstat (limited to 'hwpfilter/qa')
0 files changed, 0 insertions, 0 deletions