Skip to content
Commit e15852cd authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Kumar Gala
Browse files

samples: counter: Add err check on set_alarm call



Error checking was missing following call to
counter_set_channel_alarm.
This was reported in coverity report 203523.

Fixes #18374

Additionally remove unneeded err initialization in main function

Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@linaro.org>
parent ae5db66b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment