diff options
author | Alex Trotsenko <[email protected]> | 2014-11-05 12:38:02 +0200 |
---|---|---|
committer | Alex Trotsenko <[email protected]> | 2014-12-13 09:37:26 +0100 |
commit | 5c5e4582d60ce38868e838bced73f52febec5841 (patch) | |
tree | a91849cbd0fb435a27e980f788f6f08e450f5434 /src/gui/opengl/qopenglshaderprogram.cpp | |
parent | 14d1097f4577edab86c67090d5c20853f404d0ce (diff) |
QTextStreamPrivate::scan(): remove unnecessary checks
The delimiter search scan() loop detects a device or string reaching
the end of input and size limits. After that, 'false' is returned only
when no data was read at all. So, there is no a reason to test anything
except 'totalSize'.
Change-Id: Ib9cc21c0f4b7863c2dafb1bb074c5cda07387b8f
Reviewed-by: Oswald Buddenhagen <[email protected]>
Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/gui/opengl/qopenglshaderprogram.cpp')
0 files changed, 0 insertions, 0 deletions