add warning messages

This commit is contained in:
tTh 2024-03-24 15:15:42 +01:00
parent fa5e4d5acd
commit 36c9dc3e88
2 changed files with 6 additions and 1 deletions

View File

@ -46,7 +46,7 @@ if (foo) {
if (verbosity) {
fimg_print_minmax(minmax, (char *)__func__);
}
dltr = minmax[1] - minmax[0];
// dltr = minmax[1] - minmax[0];
dltg = minmax[3] - minmax[2];
dltb = minmax[5] - minmax[4];

View File

@ -7,6 +7,7 @@
#include <math.h>
#include <stdint.h>
#include <sys/time.h>
#include <stdlib.h>
#include "../floatimg.h"
@ -30,6 +31,10 @@ if (notused) {
fprintf(stderr, "!!!!!! %s is a wip !!!!!\n", __func__);
if (fimg_images_not_compatible(src, dst)) {
fprintf(stderr, "%s: compatibility fatalerror\n", __func__);
exit(1);
}
/*
* bon, maintenant, il faut plonger dans du code du
* siecle dernier et l'adapter a ce nouveau contexte