Fix a warning.

git-svn-id: http://skia.googlecode.com/svn/trunk@11489 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
scroggo@google.com 2013-09-26 21:49:46 +00:00
parent 83fd2c7c43
commit fd67f2f0a3

View File

@ -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);
}