intel / intel/psst

uninitialized variable last_duty_cycle in psst.c

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
24
Forks
8
PR merge metrics
No merged PRs in 30d

Description

File psst.c: static analysis detected an uninitialized variable last_duty_cycle:

340 if (chore_thread == pr) {

CID 208907 (#1 of 1): Uninitialized scalar variable (UNINIT)
24. uninit_use_in_call: Using uninitialized value last_duty_cycle when calling do_logging.

341 do_logging(&last_duty_cycle);
342 /* XXX: gfx, mem work */
343 }

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.