From e70ca81445b465c305d74652dab94e6f221d03f1 Mon Sep 17 00:00:00 2001 From: Marti Maria Date: Sat, 18 Feb 2023 10:53:20 +0100 Subject: Get rid of some warnings on testbed Comment out unused functions and so --- ChangeLog | 3 +++ testbed/testcms2.c | 11 ++++++----- testbed/testplugin.c | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3d58553..d2e4c03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ ----------------------- +2.15 Mainenance release +----------------------- +----------------------- 2.14 Featured release ----------------------- lcms2 now implements ICC specification 4.4 diff --git a/testbed/testcms2.c b/testbed/testcms2.c index f866bb4..998ccc9 100644 --- a/testbed/testcms2.c +++ b/testbed/testcms2.c @@ -527,8 +527,8 @@ cmsInt32Number ReverseSampler(CMSREGISTER const cmsUInt16Number In[], CMSREGISTE rgb[2] = Clip((1 - y) * (1 - k)); } - cmsDoTransform(p ->sRGB2Lab, rgb, Out, 1); - return 1; + cmsDoTransform(p ->sRGB2Lab, rgb, Out, 1); + return 1; } @@ -838,7 +838,6 @@ cmsInt32Number CheckQuickFloorWord(void) #define FLOAT_PRECISSION (0.00001) static cmsFloat64Number MaxErr; -static cmsFloat64Number AllowedErr = FIXED_PRECISION_15_16; cmsBool IsGoodVal(const char *title, cmsFloat64Number in, cmsFloat64Number out, cmsFloat64Number max) { @@ -2622,6 +2621,7 @@ cmsInt32Number CheckJointCurves(void) } +#if 0 // Create a gamma curve by cheating the table static cmsToneCurve* GammaTableLinear(cmsInt32Number nEntries, cmsBool Dir) @@ -2641,6 +2641,7 @@ cmsToneCurve* GammaTableLinear(cmsInt32Number nEntries, cmsBool Dir) return g; } +#endif static @@ -6558,13 +6559,13 @@ cmsInt32Number CheckCMYKPerceptual(void) } - +#if 0 static cmsInt32Number CheckCMYKRelCol(void) { return CheckCMYK(INTENT_RELATIVE_COLORIMETRIC, "test1.icc", "test2.icc"); } - +#endif static diff --git a/testbed/testplugin.c b/testbed/testplugin.c index 43b98a4..7f88d29 100755 --- a/testbed/testplugin.c +++ b/testbed/testplugin.c @@ -1337,7 +1337,7 @@ static cmsPluginTransform FullTransformPluginSample = { { cmsPluginMagicNumber, 2060, cmsPluginTransformSig, NULL}, - TransformFactory + { TransformFactory } }; cmsInt32Number CheckTransformPlugin(void) -- cgit v1.2.1