[aseprite] 104/134: fix "Program is using uninitialized variables." GCC warning
Tobias Hansen
thansen at moszumanska.debian.org
Sat Mar 14 17:10:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit d5068e071d9f8305eabe010859b413bbf0b1adc0
Author: Matthias Mailänder <Mailaender at users.noreply.github.com>
Date: Sat Dec 20 11:45:17 2014 +0100
fix "Program is using uninitialized variables." GCC warning
---
src/app/color.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/color.cpp b/src/app/color.cpp
index 2cb0b9e..d077b71 100644
--- a/src/app/color.cpp
+++ b/src/app/color.cpp
@@ -86,7 +86,7 @@ Color Color::fromIndex(int index)
// static
Color Color::fromImage(PixelFormat pixelFormat, color_t c)
{
- Color color = Color::fromMask();
+ Color color = app::Color::fromMask();
switch (pixelFormat) {
@@ -124,7 +124,7 @@ Color Color::fromImageGetPixel(Image *image, int x, int y)
// static
Color Color::fromString(const std::string& str)
{
- Color color = Color::fromMask();
+ Color color = app::Color::fromMask();
if (str != "mask") {
if (str.find("rgb{") == 0 ||
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list