From 96c446ffd4df7db11582e8f631269e1332f878e6 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 12 Dec 2008 13:09:34 +0100 Subject: remove some dead code --- bin/gdbmacros/gdbmacros.cpp | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) (limited to 'bin') 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; -- cgit v1.2.1