From 4dbd1f360d0b307fb9ffcaf515456891598d5725 Mon Sep 17 00:00:00 2001
From: Victor Poughon <victor.poughon@cnes.fr>
Date: Wed, 11 Oct 2017 13:36:00 +0200
Subject: [PATCH] Fix coverity #1266813

---
 Modules/OBIA/RCC8/test/otbImageToImageRCC8Calculator.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Modules/OBIA/RCC8/test/otbImageToImageRCC8Calculator.cxx b/Modules/OBIA/RCC8/test/otbImageToImageRCC8Calculator.cxx
index 90769aaffb..f9137e47ca 100644
--- a/Modules/OBIA/RCC8/test/otbImageToImageRCC8Calculator.cxx
+++ b/Modules/OBIA/RCC8/test/otbImageToImageRCC8Calculator.cxx
@@ -94,7 +94,7 @@ int otbImageToImageRCC8Calculator(int itkNotUsed(argc), char* argv[])
           {
           std::cout << "Test failed: Result with level3AprioriKnowledge ";
           std::cout << "different from result without a priori knowledge" << std::endl;
-          std::cout << calc->GetValue() << "!=" << calc1->GetValue() << std::endl;
+          std::cout << calc->GetValue() << "!=" << calc2->GetValue() << std::endl;
           return EXIT_FAILURE;
           }
         }
-- 
GitLab