Fix warning about not referenced variable

Fix MSVC2010 warning:

warning: C4189: 'handler' : local variable is initialized but not
referenced

Change-Id: I4a389c6e596e8c8d4aaccabcf2cc272a626926f4
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Kai Koehne
2013-06-13 14:42:59 +02:00
committed by hjk
parent 809f5f2ac8
commit fe94b22a54

View File

@@ -835,8 +835,7 @@ void LldbEngine::readLldbStandardOutput()
void LldbEngine::requestUpdateWatchers()
{
WatchHandler *handler = watchHandler();
QHashIterator<QByteArray, int> it(handler->watcherNames());
QHashIterator<QByteArray, int> it(WatchHandler::watcherNames());
QList<QByteArray> watcherData;
while (it.hasNext()) {
it.next();