aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-27 21:24:20 +0000
committerGravatar tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-27 21:24:20 +0000
commitc1c68bd3a2bfac292f29c4dd9e26ebdede657320 (patch)
tree767cca4c9c83c2d908c0dc41d23a9be404d3a8a2
parente9bbc81c7ef498f84f93819212e61627c1d08e52 (diff)
Remove dubious assertion.
Clang error report: ../../src/animator/SkDrawBitmap.cpp:89:21: error: comparison of constant 4294967295 with expression of type 'int' is always true [-Werror,-Wtautological-constant-out-of-range-compare] SkASSERT(format != (SkBitmap::Config) -1); ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ R=bsalomon@google.com,reed@google.com Review URL: https://codereview.chromium.org/12770023 git-svn-id: http://skia.googlecode.com/svn/trunk@8418 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--src/animator/SkDrawBitmap.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/animator/SkDrawBitmap.cpp b/src/animator/SkDrawBitmap.cpp
index 30af9dbd0e..9f657ab2ae 100644
--- a/src/animator/SkDrawBitmap.cpp
+++ b/src/animator/SkDrawBitmap.cpp
@@ -86,7 +86,6 @@ void SkDrawBitmap::dump(SkAnimateMaker* maker) {
#endif
void SkDrawBitmap::onEndElement(SkAnimateMaker&) {
- SkASSERT(format != (SkBitmap::Config) -1);
SkASSERT(width != -1);
SkASSERT(height != -1);
SkASSERT(rowBytes >= 0);