Removed dead assignments

Change-Id: I7cd0e127c23d209d210385906d0923bce650a3e5
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Robert Loehning
2011-10-20 21:20:32 +02:00
committed by hjk
parent 35ac0251d2
commit 1b76f67d76

View File

@@ -1569,8 +1569,6 @@ static void qDumpQHash(QDumper &d)
d.putItem("numchild", n);
if (d.dumpChildren) {
if (n > 1000)
n = 1000;
const bool isSimpleKey = isSimpleType(keyType);
const bool isSimpleValue = isSimpleType(valueType);
const bool opt = isOptimizedIntKey(keyType);
@@ -1922,9 +1920,6 @@ static void qDumpQMap(QDumper &d)
d.putItemCount("value", n);
d.putItem("numchild", n);
if (d.dumpChildren) {
if (n > 1000)
n = 1000;
//unsigned keySize = d.extraInt[0];
//unsigned valueSize = d.extraInt[1];
unsigned mapnodesize = d.extraInt[2];
@@ -2850,8 +2845,6 @@ static void qDumpQSet(QDumper &d)
d.putItem("valueeditable", "false");
d.putItem("numchild", 2 * n);
if (d.dumpChildren) {
if (n > 100)
n = 100;
d.beginChildren();
int i = 0;
for (int bucket = 0; bucket != hd->numBuckets && i <= 10000; ++bucket) {