diff options
author | João Abecasis <joao@abecasis.name> | 2009-11-16 11:48:06 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-11-17 13:00:46 (GMT) |
commit | d5eb850f8c2524aa5573bb4e672b195724e5b5ad (patch) | |
tree | 53eb6bd9d714d7e1b8f11f8e3b20201ea0f5188f /tools/linguist/lconvert | |
parent | 6f5fb0be85b1d7cc9f93b615b5034c882e946301 (diff) | |
download | Qt-d5eb850f8c2524aa5573bb4e672b195724e5b5ad.zip Qt-d5eb850f8c2524aa5573bb4e672b195724e5b5ad.tar.gz Qt-d5eb850f8c2524aa5573bb4e672b195724e5b5ad.tar.bz2 |
Remove needless loop in QIODevice::seek
Either the buffer has more data than is being skipped and it can be
cleared or it doesn't and we must skip it.
If the total size of QRingBuffer exceeds INT_MAX there'll be bigger
problems (e.g., QRingBuffer::size() will overflow) that can only be
handled there and there's no point trying to work around them here.
Reviewed-by: Markus Goetz
Diffstat (limited to 'tools/linguist/lconvert')
0 files changed, 0 insertions, 0 deletions