summaryrefslogtreecommitdiffstats
path: root/src/sql/doc/snippets
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2023-01-02 15:13:37 +0200
committerAhmad Samir <a.samirh78@gmail.com>2023-01-24 19:54:58 +0200
commit3027e498938bc7bfb51d601ab308827b48c16622 (patch)
tree76e20dd8b5a35523d0b13794e742095cf403184b /src/sql/doc/snippets
parentb49e2bb0849ed423e68398d5a10a3cc079bff589 (diff)
QDateTimeParser: don't shadow member variable
Rename local var to lastVal, this is less confusing and less error prone. Seeing "last" in the code one would have to ask which one it is, the member var, a parameter or a local var? and it could be missed especially when reading code quickly, which happens especially if it's not what you're focusing on now, i.e. you're fixing something else and want to check this code quickly. Change-Id: Id1742fd5f47ce65faf4d95f408ab3eb1f16e8c45 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/sql/doc/snippets')
0 files changed, 0 insertions, 0 deletions