aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils
diff options
context:
space:
mode:
authorGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-26 21:49:46 +0000
committerGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-26 21:49:46 +0000
commitfd67f2f0a394b4a795f1a0f64c5b1233938839a9 (patch)
tree6df8e904a4436ba5b6cdd239ca7b6f5e29f1d4cc /src/utils
parent83fd2c7c43fea7ea49adc68681e9ed3ed180d568 (diff)
Fix a warning.
git-svn-id: http://skia.googlecode.com/svn/trunk@11489 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/SkFrontBufferedStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/SkFrontBufferedStream.cpp b/src/utils/SkFrontBufferedStream.cpp
index 12030da8fb..d68b9e44fd 100644
--- a/src/utils/SkFrontBufferedStream.cpp
+++ b/src/utils/SkFrontBufferedStream.cpp
@@ -138,7 +138,7 @@ size_t SkFrontBufferedStream::read(void* voidDst, size_t size) {
}
if (size > 0 && !fStream->isAtEnd()) {
- const size_t bytesReadDirectly = this->readDirectlyFromStream(dst, size);
+ SkDEBUGCODE(const size_t bytesReadDirectly =) this->readDirectlyFromStream(dst, size);
SkDEBUGCODE(size -= bytesReadDirectly;)
SkASSERT(size + (fOffset - start) == totalSize);
}