diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2014-05-14 13:28:05 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-16 10:48:27 +0200 |
commit | e13d30be68228ccda3b6310ac44a84981b17f03b (patch) | |
tree | c1781d0e09bc3b876be11885407f2eac25bf1374 /src | |
parent | 73a29b4800234bb5919fb6300f317b25d0bbaa89 (diff) | |
download | qtxmlpatterns-stable.tar.gz |
Fix error 11 identified by static analysis from
http://www.viva64.com/en/b/0251/
Change-Id: I3ed821c6d7cda874bfa5e3a24ccde1a4f2f13ec9
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/xmlpatterns/data/qatomiccomparators.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/data/qatomiccomparators.cpp b/src/xmlpatterns/data/qatomiccomparators.cpp index f0ad8f7..e889aaf 100644 --- a/src/xmlpatterns/data/qatomiccomparators.cpp +++ b/src/xmlpatterns/data/qatomiccomparators.cpp @@ -218,7 +218,7 @@ IntegerComparator::compare(const Item &o1, const Item &o2) const { const Numeric *const num1 = o1.as<Numeric>(); - const Numeric *const num2 = o1.as<Numeric>(); + const Numeric *const num2 = o2.as<Numeric>(); /** * Consider: |