From 0e579da7a0a61844ff9cd4006f59d9c97a75c2c9 Mon Sep 17 00:00:00 2001 From: le vieux Date: Sun, 28 Feb 2021 13:50:19 +0100 Subject: [PATCH] cosmetic --- tools/cumulfimgs.c | 3 --- tools/fimg2text.c | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/tools/cumulfimgs.c b/tools/cumulfimgs.c index c5baf04..5f53d68 100644 --- a/tools/cumulfimgs.c +++ b/tools/cumulfimgs.c @@ -8,7 +8,6 @@ #include "../floatimg.h" int verbosity; - int g_width, g_height; /* --------------------------------------------------------------------- */ @@ -18,9 +17,7 @@ int foo, numbers[3]; foo = fimg_fileinfos(path, numbers); if (foo) { -#if DEBUG_LEVEL fprintf(stderr, "fileinfo of '%s' -> err %d\n", path, foo); -#endif return foo; } diff --git a/tools/fimg2text.c b/tools/fimg2text.c index 2efc19d..76c7235 100644 --- a/tools/fimg2text.c +++ b/tools/fimg2text.c @@ -29,7 +29,7 @@ if (strcmp("-", fname)) { /* real file */ fprintf(stderr, "real file '%s'\n", fname); } else { - fprintf(stderr, "kitchen sink\n"); + // fprintf(stderr, "kitchen sink\n"); } fp = stdout; /* XXX */ @@ -154,7 +154,7 @@ while ((opt = getopt(argc, argv, "hn:s:v")) != -1) { } 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); }