diff options
author | Marc Mutz <[email protected]> | 2021-08-12 15:09:26 +0200 |
---|---|---|
committer | Marc Mutz <[email protected]> | 2021-08-18 22:31:17 +0200 |
commit | d3ece0fcc2b1fd60690bf7b6d04ad90c4eb48c0e (patch) | |
tree | 0b9ec9a5c93097b9eb6cfa99a104743b9ba8396d /src/concurrent/doc/snippets | |
parent | 175e81ffbdc5d41fa58b24a5447be9219ea755da (diff) |
QLibrary: remove dead check
The variable `i` is initially `suffixPos + 1` and is then incremented
further. It therefore can never be equal to `suffixPos` (ints don't
overflow, that would be UB, and suffixPos doesn't change its value),
so don't check for that.
Change-Id: I3870ddf6ee550cad6c24fececf2a0b662a33d750
Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/concurrent/doc/snippets')
0 files changed, 0 insertions, 0 deletions