From a6902f3204155e8e960b4e5119b4780787eb26b8 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev <vasil.georgiev.vasilev@cern.ch> Date: Mon, 31 Oct 2011 15:08:38 +0000 Subject: [PATCH] Got by coverity "smartness" this should revert r41657 + add better comment git-svn-id: http://root.cern.ch/svn/root/trunk@41658 27541ba8-7e3a-0410-8455-c3a389f83636 --- cint/cling/lib/Interpreter/CIFactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cint/cling/lib/Interpreter/CIFactory.cpp b/cint/cling/lib/Interpreter/CIFactory.cpp index 2a841b0781b..d935478fc6a 100644 --- a/cint/cling/lib/Interpreter/CIFactory.cpp +++ b/cint/cling/lib/Interpreter/CIFactory.cpp @@ -155,8 +155,8 @@ namespace cling { // CI->getCodeGenOpts().DebugInfo = 1; // want debug info // CI->getCodeGenOpts().EmitDeclMetadata = 1; // For unloading, for later CI->getCodeGenOpts().OptimizationLevel = 0; // see pure SSA, that comes out - assert((CI->getCodeGenOpts().VerifyModule == 1) - && "When asserts are on, let's also assert the module"); + // When asserts are on, TURN ON not compare the VerifyModule + assert(CI->getCodeGenOpts().VerifyModule = 1); return CI; } -- GitLab