Skip to content

sensors/lis2dh12: Fix control flow in lis2dh12_set_tap_cfg()#2019

Merged
kasjer merged 1 commit intoapache:masterfrom
kasjer:kasjer/control-flow-cosmetic-in-lis2dh12
Sep 27, 2019
Merged

sensors/lis2dh12: Fix control flow in lis2dh12_set_tap_cfg()#2019
kasjer merged 1 commit intoapache:masterfrom
kasjer:kasjer/control-flow-cosmetic-in-lis2dh12

Conversation

@kasjer
Copy link
Contributor

@kasjer kasjer commented Sep 27, 2019

Code was written with intention of checking return code after
each function call but setting rc variable is missing in obvious
places.

Error found by static code analyzer tool.

Code was written with intention of checking return code after
each function call but setting rc variable is missing in obvious
places.

Error found by static code analyzer tool.
@kasjer kasjer merged commit 8abe75d into apache:master Sep 27, 2019
@kasjer kasjer deleted the kasjer/control-flow-cosmetic-in-lis2dh12 branch September 27, 2019 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants