diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2009-09-29 11:03:42 (GMT) |
---|---|---|
committer | Jeremy Katz <jeremy.katz@nokia.com> | 2009-09-29 11:03:42 (GMT) |
commit | e9ef0cd651bcfeb85262e877c693f5efe07dff8e (patch) | |
tree | 4af3b622587e50b86679bd4c5830a626d4eec36b /src/testlib | |
parent | 777c02085e0f30d0dceb57a9ac96a44999b4a028 (diff) | |
download | Qt-e9ef0cd651bcfeb85262e877c693f5efe07dff8e.zip Qt-e9ef0cd651bcfeb85262e877c693f5efe07dff8e.tar.gz Qt-e9ef0cd651bcfeb85262e877c693f5efe07dff8e.tar.bz2 |
fix warnings about declarations shadowing class members (autotest reported)
Reviewed-by: Olivier
Diffstat (limited to 'src/testlib')
-rw-r--r-- | src/testlib/qtestcoreelement.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testlib/qtestcoreelement.h b/src/testlib/qtestcoreelement.h index e9691d5..b5e5d0f 100644 --- a/src/testlib/qtestcoreelement.h +++ b/src/testlib/qtestcoreelement.h @@ -93,9 +93,9 @@ void QTestCoreElement<ElementType>::addAttribute(const QTest::AttributeIndex att if (attribute(attributeIndex)) return; - QTestElementAttribute *attribute = new QTestElementAttribute; - attribute->setPair(attributeIndex, value); - attribute->addToList(&listOfAttributes); + QTestElementAttribute *testAttribute = new QTestElementAttribute; + testAttribute->setPair(attributeIndex, value); + testAttribute->addToList(&listOfAttributes); } template <class ElementType> |