summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-24 21:33:13 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-24 23:28:10 +0300
commit64810ef5b4b3d375e7af0f4fc9ee69e235afa568 (patch)
tree6810d0f27a0e38c99370c3c9e8d08443ffe8d76f /src/resources
parent9d2eb460fa3569342044b6f3e61d52d86ca8cbb6 (diff)
downloadmv-64810ef5b4b3d375e7af0f4fc9ee69e235afa568.tar.gz
mv-64810ef5b4b3d375e7af0f4fc9ee69e235afa568.tar.bz2
mv-64810ef5b4b3d375e7af0f4fc9ee69e235afa568.tar.xz
mv-64810ef5b4b3d375e7af0f4fc9ee69e235afa568.zip
Fix code style.
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
{