kill warning, better return value

This commit is contained in:
tTh 2024-07-18 08:57:50 +02:00
parent 7aab0e030a
commit 4f41ae399b
1 changed files with 8 additions and 2 deletions

View File

@ -14,6 +14,7 @@
*/
int Image_egalise_cos01(Image_Desc *source, Image_Desc *but, int k)
{
(void)k; /* WARNING KILLER */
int lut[256], uc, idx, foo;
float fidx;
@ -34,11 +35,16 @@ for (idx=0; idx<256; idx++) {
}
Image_LUT_mono(source, but, lut);
return FUNC_IS_BETA;
return OLL_KORRECT;
}
/*::------------------------------------------------------------------::*/
/*
* new: Fri Sep 15 20:32:12 UTC 2023
* inspired by the same func in FloatImg
*/
int Image_egalise_cos010(Image_Desc *source, Image_Desc *but, int k)
{
(void)k; /* WARNING KILLER */
int lut[256], uc, idx, foo;
float fidx;
@ -59,7 +65,7 @@ for (idx=0; idx<256; idx++) {
}
Image_LUT_mono(source, but, lut);
return FUNC_IS_BETA;
return OLL_KORRECT;
}
/*::------------------------------------------------------------------::*/
/*