Fix a warning.
git-svn-id: http://skia.googlecode.com/svn/trunk@11489 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
83fd2c7c43
commit
fd67f2f0a3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user