From 04f2c01944a29f8dd3759861d5e540c88a1bd6f2 Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Thu, 1 Mar 2012 11:23:47 +0100
Subject: [PATCH] debugger: disable a warning that's a bit too eager

Change-Id: Ia24322bfecf8422cb5daec7b4fa4111bc36c00e8
Reviewed-by: hjk <qthjk@ovi.com>
---
 src/plugins/debugger/gdb/gdbengine.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 5412d042733..195443ad3b7 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -2280,7 +2280,7 @@ void GdbEngine::handleExecuteReturn(const GdbResponse &response)
 
 void GdbEngine::setTokenBarrier()
 {
-    QTC_ASSERT(m_nonDiscardableCount == 0, /**/);
+    //QTC_ASSERT(m_nonDiscardableCount == 0, /**/);
     bool good = true;
     QHashIterator<int, GdbCommand> it(m_cookieForToken);
     while (it.hasNext()) {
-- 
GitLab