From ba8923028e1e6733a447157170de1fb49b0049a2 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Sun, 12 Dec 2021 15:11:58 +0200 Subject: [PATCH] Silence run-time warnings / infos. They are a distraction at best and may indicate other issues. --- src/io/file-export-cmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/io/file-export-cmd.cpp b/src/io/file-export-cmd.cpp index 4e0eeebd22..16355199cb 100644 --- a/src/io/file-export-cmd.cpp +++ b/src/io/file-export-cmd.cpp @@ -690,13 +690,13 @@ InkFileExportCmd::do_export_png(SPDocument *doc, std::string const &filename_in) } // ---------------------- Generate the PNG ------------------------------- - - // Do we really need to print this? +#ifdef DEBUG std::cerr << "Background RRGGBBAA: " << std::hex << bgcolor << std::dec << std::endl; std::cerr << "Area " << area[Geom::X][0] << ":" << area[Geom::Y][0] << ":" << area[Geom::X][1] << ":" << area[Geom::Y][1] << " exported to " << width << " x " << height << " pixels (" << dpi << " dpi)" << std::endl; +#endif reverse(items.begin(),items.end()); // But there was only one item! -- GitLab