diff --git a/funcs/displacement.c b/funcs/displacement.c index e7f7a9f..2749aa9 100644 --- a/funcs/displacement.c +++ b/funcs/displacement.c @@ -22,7 +22,6 @@ float minmax[6]; float rgb[3]; float dltr, dltg, dltb; /* delta des minmax */ float dispx, dispy; - int dstx, dsty; int in, out; @@ -83,9 +82,7 @@ for (y=0; yheight; y++) { fimg_put_rgb(pdst, dstx, dsty, rgb); in++; } - } - } if (verbosity) fprintf(stderr, "%s -> in %d out %d\n", __func__, in, out); diff --git a/funcs/fimg-png.c b/funcs/fimg-png.c index 815b0d3..74f6081 100644 --- a/funcs/fimg-png.c +++ b/funcs/fimg-png.c @@ -171,7 +171,7 @@ unsigned char *bytes, *bptr; double maximum, fk; #if DEBUG_LEVEL -fprintf(stderr, ">>> %-25s ( %p '%s' 0x%x )\n", __func__, src, outname, flags); +fprintf(stderr, ">>> %s ( %p '%s' 0x%x )\n", __func__, src, outname, flags); #endif if (flags) { diff --git a/funcs/geometry.c b/funcs/geometry.c index 7921aca..b31f467 100644 --- a/funcs/geometry.c +++ b/funcs/geometry.c @@ -123,7 +123,6 @@ fprintf(stderr, ">>> %s ( %p %p %p )\n", __func__, in, out, rect); if (verbosity > 1) { fimg_describe(in, "extractor: source"); fimg_describe(out, "extractor: destination"); - // print_rectangle(rect); } /* diff --git a/funcs/incrustator.c b/funcs/incrustator.c index 2ab2c83..b921836 100644 --- a/funcs/incrustator.c +++ b/funcs/incrustator.c @@ -47,6 +47,9 @@ return -1; } */ /* ---------------------------------------------------------------- */ +/* + * See also: fimg_extractor() in geometry.c + */ int fimg_incrustator_0(FloatImg *psrc, FloatImg *pdst, int xpos, int ypos, int flags) { diff --git a/funcs/recurse.c b/funcs/recurse.c index e2d080d..ec23db2 100644 --- a/funcs/recurse.c +++ b/funcs/recurse.c @@ -22,6 +22,12 @@ int fimg_recursion_proto(FloatImg *src, FloatImg *dst, int notused) fprintf(stderr, ">>> %s ( %p %p %d )\n", __func__, src, dst, notused); #endif +if (notused) { + fprintf(stderr, "%s parameter notused is %d, must be 0\n", + __func__, notused); + return -2; + } + fprintf(stderr, "!!!!!! %s is a wip !!!!!\n", __func__); /*