From 1f1bf99cea363377a086085589535c75a1a8f180 Mon Sep 17 00:00:00 2001 From: Dhruvaraj Subhashchandran Date: Wed, 5 Jun 2024 14:28:42 -0500 Subject: [PATCH] Fix CI error: Conditional jump based on undefined value Fixing CI error Conditional jump or move depends on uninitialised value Signed-off-by: Dhruvaraj Subhashchandran --- libpdbg/dtb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpdbg/dtb.c b/libpdbg/dtb.c index e9bf95451..8819e137c 100644 --- a/libpdbg/dtb.c +++ b/libpdbg/dtb.c @@ -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;