From 9834793386b3fbd0b9f29d658a544f5d59a4d424 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Mon, 10 Jan 2022 17:06:39 -0700 Subject: [PATCH] Fix uninitialized variable warning --- src/script_opt/ZAM/ZBody.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/script_opt/ZAM/ZBody.cc b/src/script_opt/ZAM/ZBody.cc index c7fd492bc8..d4804f16d7 100644 --- a/src/script_opt/ZAM/ZBody.cc +++ b/src/script_opt/ZAM/ZBody.cc @@ -296,8 +296,8 @@ ValPtr ZBody::DoExec(Frame* f, int start_pc, StmtFlowType& flow) auto& z = insts[pc]; #ifdef DEBUG - int profile_pc; - double profile_CPU; + int profile_pc = 0; + double profile_CPU = 0.0; if ( do_profile ) {