Skip to content

Commit

Permalink
Merge pull request #98 from dhruvibm/master
Browse files Browse the repository at this point in the history
Fix CI error: Conditional jump based on undefined value
  • Loading branch information
aravynd authored Jun 6, 2024
2 parents 5217c82 + 1f1bf99 commit f429a97
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 f429a97

Please sign in to comment.