[aseprite] 46/64: Fix a serious compiler warning
Tobias Hansen
thansen at moszumanska.debian.org
Tue Jun 21 14:43:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 5e62983251f68ad975d75cd5c1e9bff3a1fca7db
Author: Matthias Mailänder <Mailaender at users.noreply.github.com>
Date: Sat May 21 19:41:43 2016 +0200
Fix a serious compiler warning
Program returns random data in a function
---
src/doc/algorithm/shrink_bounds.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/doc/algorithm/shrink_bounds.cpp b/src/doc/algorithm/shrink_bounds.cpp
index cd52fe5..fde9f6e 100644
--- a/src/doc/algorithm/shrink_bounds.cpp
+++ b/src/doc/algorithm/shrink_bounds.cpp
@@ -23,6 +23,7 @@ template<typename ImageTraits>
bool is_same_pixel(color_t pixel1, color_t pixel2)
{
static_assert(false && sizeof(ImageTraits), "No is_same_pixel impl");
+ return false;
}
template<>
--
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