aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-13 20:48:09 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-13 20:48:09 +0000
commit732c5d516a3ad729e69d88043c771f8b8eac2560 (patch)
tree635cfc9868273b2ab41e66837e9d6cd867e57c7e /src
parenta25c94e50a6bbd1a73656923592293385acc2ce7 (diff)
fix warning related to && and || and parens
git-svn-id: http://skia.googlecode.com/svn/trunk@9597 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/views/SkView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/SkView.cpp b/src/views/SkView.cpp
index 9c3e50f832..b1bdb25952 100644
--- a/src/views/SkView.cpp
+++ b/src/views/SkView.cpp
@@ -783,7 +783,7 @@ void SkView::validate() const {
} else {
bool nextNull = NULL == fNextSibling;
bool prevNull = NULL == fNextSibling;
- SkASSERT(nextNull && prevNull || !nextNull && !prevNull);
+ SkASSERT(nextNull == prevNull);
}
}