summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2008-12-12 13:09:34 +0100
committerhjk <qtc-committer@nokia.com>2008-12-12 13:09:34 +0100
commit96c446ffd4df7db11582e8f631269e1332f878e6 (patch)
tree4a21b1cd6202feaa94d2589b81b1868aa77dc538 /bin
parent70d2bfed3263734d4db93c7a0e1bb9f02e43bfa2 (diff)
downloadqt-creator-96c446ffd4df7db11582e8f631269e1332f878e6.tar.gz
remove some dead code
Diffstat (limited to 'bin')
-rw-r--r--bin/gdbmacros/gdbmacros.cpp29
1 files changed, 1 insertions, 28 deletions
diff --git a/bin/gdbmacros/gdbmacros.cpp b/bin/gdbmacros/gdbmacros.cpp
index 693830b077..a1b4e5afb8 100644
--- a/bin/gdbmacros/gdbmacros.cpp
+++ b/bin/gdbmacros/gdbmacros.cpp
@@ -2439,34 +2439,7 @@ void qDumpObjectData440(
int extraInt2,
int extraInt3)
{
- if (protocolVersion == -2) {
- // close socket
- QDumper d;
- d.protocolVersion = protocolVersion;
- d.token = token;
- d.flush();
- d.disarm();
- }
-
- else if (protocolVersion == -1) {
- // finalize Startup
- QDumper d;
- d.protocolVersion = protocolVersion;
- d.token = token;
- d.disarm();
- }
-
- else if (protocolVersion == 0) {
- QDumper d;
- d.protocolVersion = protocolVersion;
- d.token = token;
- // used to test whether error output gets through
- //fprintf(stderr, "using stderr, qDebug follows: %d\n", token);
- //qDebug() << "using qDebug, stderr already used: " << token;
- d.disarm();
- }
-
- else if (protocolVersion == 1) {
+ if (protocolVersion == 1) {
QDumper d;
d.protocolVersion = protocolVersion;
d.token = token;