This commit is contained in:
le vieux 2021-02-28 13:50:19 +01:00
parent 149bd0b06c
commit 0e579da7a0
2 changed files with 2 additions and 5 deletions

View File

@ -8,7 +8,6 @@
#include "../floatimg.h" #include "../floatimg.h"
int verbosity; int verbosity;
int g_width, g_height; int g_width, g_height;
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
@ -18,9 +17,7 @@ int foo, numbers[3];
foo = fimg_fileinfos(path, numbers); foo = fimg_fileinfos(path, numbers);
if (foo) { if (foo) {
#if DEBUG_LEVEL
fprintf(stderr, "fileinfo of '%s' -> err %d\n", path, foo); fprintf(stderr, "fileinfo of '%s' -> err %d\n", path, foo);
#endif
return foo; return foo;
} }

View File

@ -29,7 +29,7 @@ if (strcmp("-", fname)) { /* real file */
fprintf(stderr, "real file '%s'\n", fname); fprintf(stderr, "real file '%s'\n", fname);
} }
else { else {
fprintf(stderr, "kitchen sink\n"); // fprintf(stderr, "kitchen sink\n");
} }
fp = stdout; /* XXX */ fp = stdout; /* XXX */
@ -154,7 +154,7 @@ while ((opt = getopt(argc, argv, "hn:s:v")) != -1) {
} }
if (1 != argc-optind) { if (1 != argc-optind) {
fprintf(stderr, "error: %s need two filenames\n", argv[0]); fprintf(stderr, "error: %s need one filename\n", argv[0]);
exit(1); exit(1);
} }