summaryrefslogtreecommitdiff
path: root/util/cbfstool/rmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/cbfstool/rmodule.c')
-rw-r--r--util/cbfstool/rmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/rmodule.c b/util/cbfstool/rmodule.c
index b94e0c279a..f93f4f6508 100644
--- a/util/cbfstool/rmodule.c
+++ b/util/cbfstool/rmodule.c
@@ -201,7 +201,7 @@ static int find_program_segment(struct rmod_context *ctx)
int i;
int nsegments;
struct parsed_elf *pelf;
- Elf64_Phdr *phdr;
+ Elf64_Phdr *phdr = NULL;
pelf = &ctx->pelf;