nasa / bplib

Apache License 2.0
27 stars 13 forks source link

Cppcheck errors reported in lib/src/v7_dataservice_api.c #195

Closed jphickey closed 1 year ago

jphickey commented 1 year ago

Describe the bug Initial manual run of cppcheck reports the following concerns:

Checking lib/src/v7_dataservice_api.c ...
lib/src/v7_dataservice_api.c:490:16: style: Variable 'status' is assigned a value that is never used. [unreadVariable]
        status = BP_ERROR;
               ^

To Reproduce Execute cppcheck against source code

Expected behavior Should execute cleanly with no errors reported

System observed on: Ubuntu 22.04

Reporter Info Joseph Hickey, Vantage Systems, Inc.