summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/dye.cpp4
-rw-r--r--src/resources/dyepalette.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/resources/dye.cpp b/src/resources/dye.cpp
index b99c967d8..34a1937a5 100644
--- a/src/resources/dye.cpp
+++ b/src/resources/dye.cpp
@@ -202,7 +202,7 @@ void Dye::normalDye(uint32_t *restrict pixels, const int bufSize) const
| (color[2] << 8) | alpha;
#endif
}
-endlabel:;
+endlabel:{}
}
#else // ENABLE_CILKPLUS
@@ -317,7 +317,7 @@ void Dye::normalOGLDye(uint32_t *restrict pixels, const int bufSize) const
| (color[2] << 16) | alpha;
#endif
}
-endlabel:;
+endlabel:{}
}
#else // ENABLE_CILKPLUS
diff --git a/src/resources/dyepalette.cpp b/src/resources/dyepalette.cpp
index 9bc5aef7c..44049997a 100644
--- a/src/resources/dyepalette.cpp
+++ b/src/resources/dyepalette.cpp
@@ -223,7 +223,6 @@ void DyePalette::replaceSColor(uint32_t *restrict pixels,
if (!alpha)
{
// logger->log("skip: %08x", *pixels);
- //continue;
}
else
{