forked from qt-creator/qt-creator
Removed dead assignments
Change-Id: I7cd0e127c23d209d210385906d0923bce650a3e5 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user