diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2017-09-26 17:14:24 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2017-11-30 20:19:35 +0000 |
commit | 81ad5bc838538084d14e4627ad405262026b72a2 (patch) | |
tree | 73f5c3453d8b9461c2108f01f79854af600ed93e /src/corelib/tools/qringbuffer.cpp | |
parent | b4ef4469ba0a47eb5f2b395f9934a0d41139a85d (diff) |
Tidy up QDateTimeParser code to make it easier to reason about
Note that the relevant cases are all numeric, eliminate a redundant
variable (the min of two others, one of which was provably <= the
other), invert and rename a boolean (that was always used negated),
eliminate a case that couldn't arise (and assert this).
Change-Id: I9ef9cedbeb608c7cd56ddc618ddfb921966edfbf
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qringbuffer.cpp')
0 files changed, 0 insertions, 0 deletions