From 4826d976d6de4c0d652b134c1e7e582e459c69f9 Mon Sep 17 00:00:00 2001 From: LaurentBerger Date: Thu, 15 Dec 2016 10:51:08 +0100 Subject: [PATCH] Suppress warning unused parameter --- modules/imgproc/src/colormap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgproc/src/colormap.cpp b/modules/imgproc/src/colormap.cpp index 171135e247..8d257a818f 100644 --- a/modules/imgproc/src/colormap.cpp +++ b/modules/imgproc/src/colormap.cpp @@ -502,7 +502,7 @@ namespace colormap this->_lut = c; } void init(int n) { - CV_Error(Error::StsAssert, "unused method in UserColormap."); + CV_Error(Error::StsAssert, format("unused method in UserColormap init(%d).",n)); } };