summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qtimezoneprivate.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2017-09-26 17:14:24 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2017-11-30 20:19:35 +0000
commit81ad5bc838538084d14e4627ad405262026b72a2 (patch)
tree73f5c3453d8b9461c2108f01f79854af600ed93e /src/corelib/tools/qtimezoneprivate.cpp
parentb4ef4469ba0a47eb5f2b395f9934a0d41139a85d (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/qtimezoneprivate.cpp')
0 files changed, 0 insertions, 0 deletions