From 64810ef5b4b3d375e7af0f4fc9ee69e235afa568 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 24 Apr 2015 21:33:13 +0300 Subject: Fix code style. --- src/resources/dye.cpp | 4 ++-- src/resources/dyepalette.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/resources') 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 { -- cgit v1.2.3-60-g2f50