summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
authorasynts <asynts@gmail.com>2021-01-23 23:45:29 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-25 09:47:36 +0100
commitacdcf59a333b0fe9a709ee53b2a82b26b346b747 (patch)
tree88d7ab0c97a5b5174331ba0d7d7a9071ebac04cc /Userland/Applications
parent1a3a0836c017ab5e5672472033f3ff369dc33c39 (diff)
downloadserenity-acdcf59a333b0fe9a709ee53b2a82b26b346b747.zip
Everywhere: Remove unnecessary debug comments.
It would be tempting to uncomment these statements, but that won't work with the new changes. This was done with the following commands: find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec awk -i inplace '$0 !~ /\/\/#define/ { if (!toggle) { print; } else { toggle = !toggle } } ; $0 ~/\/\/#define/ { toggle = 1 }' {} \; find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec awk -i inplace '$0 !~ /\/\/ #define/ { if (!toggle) { print; } else { toggle = !toggle } } ; $0 ~/\/\/ #define/ { toggle = 1 }' {} \;
Diffstat (limited to 'Userland/Applications')
-rw-r--r--Userland/Applications/PixelPaint/Image.cpp2
-rw-r--r--Userland/Applications/Spreadsheet/Spreadsheet.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/Userland/Applications/PixelPaint/Image.cpp b/Userland/Applications/PixelPaint/Image.cpp
index 01f202cce4..78eebc2b2d 100644
--- a/Userland/Applications/PixelPaint/Image.cpp
+++ b/Userland/Applications/PixelPaint/Image.cpp
@@ -37,8 +37,6 @@
#include <LibGfx/PNGWriter.h>
#include <stdio.h>
-//#define PAINT_DEBUG
-
namespace PixelPaint {
RefPtr<Image> Image::create_with_size(const Gfx::IntSize& size)
diff --git a/Userland/Applications/Spreadsheet/Spreadsheet.cpp b/Userland/Applications/Spreadsheet/Spreadsheet.cpp
index 4fec43e653..de31828a4f 100644
--- a/Userland/Applications/Spreadsheet/Spreadsheet.cpp
+++ b/Userland/Applications/Spreadsheet/Spreadsheet.cpp
@@ -41,8 +41,6 @@
#include <LibJS/Runtime/Function.h>
#include <ctype.h>
-//#define COPY_DEBUG
-
namespace Spreadsheet {
Sheet::Sheet(const StringView& name, Workbook& workbook)