Commit 1b76f67d authored by Robert Loehning's avatar Robert Loehning Committed by hjk

Removed dead assignments

Change-Id: I7cd0e127c23d209d210385906d0923bce650a3e5
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 35ac0251
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment