summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-07-06 07:28:57 (GMT)
committeraxis <qt-info@nokia.com>2009-07-06 07:44:36 (GMT)
commit57af679669a1562d6c1d767b6a6d79835aa99a3a (patch)
tree0ccc8864e0c0e3d241da65df654072921b9511de /src/corelib/tools
parentb11571133cd46e42a56d902b0b482235f18c3012 (diff)
downloadQt-57af679669a1562d6c1d767b6a6d79835aa99a3a.zip
Qt-57af679669a1562d6c1d767b6a6d79835aa99a3a.tar.gz
Qt-57af679669a1562d6c1d767b6a6d79835aa99a3a.tar.bz2
Removed unused static data from Qt.
This saves memory and prevents warnings from RVCT.
Diffstat (limited to 'src/corelib/tools')
-rw-r--r--src/corelib/tools/qdumper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qdumper.cpp b/src/corelib/tools/qdumper.cpp
index b863442..2658cec 100644
--- a/src/corelib/tools/qdumper.cpp
+++ b/src/corelib/tools/qdumper.cpp
@@ -92,7 +92,7 @@ static void qProvokeSegFault()
qCheckAccess(0);
}
-static char qDumpInBuffer[100];
+//static char qDumpInBuffer[100];
static char qDumpBuffer[1000];
#ifdef Q_OS_WIN
static char qDumpBuffer2[sizeof(qDumpBuffer) + 100];
@@ -162,7 +162,7 @@ QDumper::~QDumper()
#else
fprintf(stderr, "%d/done\n", token);
#endif
- qDumpInBuffer[0] = 0;
+ //qDumpInBuffer[0] = 0;
}
void QDumper::flush()