Skip to content

Commit

Permalink
Fix CI error: Conditional jump based on undefined value
Browse files Browse the repository at this point in the history
Fixing CI error Conditional jump or move depends on uninitialised value

Signed-off-by: Dhruvaraj Subhashchandran <[email protected]>
  • Loading branch information
dhruvibm committed Jun 5, 2024
1 parent 5217c82 commit 1f1bf99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpdbg/dtb.c
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ static void close_dtb(struct pdbg_mfile *mfile)

bool is_ody_ocmb_chip(struct pdbg_target *target)
{
uint8_t type;
uint8_t type = 0;
pdbg_target_get_attribute(target, "ATTR_TYPE", 1, 1, &type);
if(type != ATTR_TYPE_OCMB_CHIP) {
return false;
Expand Down

0 comments on commit 1f1bf99

Please sign in to comment.