From d6e1b90a239083744dda6a16cbbe7bed01d4cac6 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 30 Apr 2022 20:24:47 -0700 Subject: [PATCH] avoid reassignment Signed-off-by: Rosen Penev --- src/bmffimage.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bmffimage.cpp b/src/bmffimage.cpp index 7dd97286..84844fab 100644 --- a/src/bmffimage.cpp +++ b/src/bmffimage.cpp @@ -239,9 +239,10 @@ uint64_t BmffImage::boxHandler(std::ostream& out /* = std::cout*/, Exiv2::PrintS } visits_.insert(address); - bool bTrace = option == kpsBasic || option == kpsRecursive; #ifdef EXIV2_DEBUG_MESSAGES - bTrace = true; + bool bTrace = true; +#else + bool bTrace = option == kpsBasic || option == kpsRecursive; #endif // 8-byte buffer for parsing the box length and type.