From b9f06d43e165dc83b2ab2e6e89e243c62753fc9c Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Thu, 1 Oct 2009 09:01:00 +0200
Subject: [PATCH] debugger: minor whitespace

---
 src/shared/trk/trkdevice.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/shared/trk/trkdevice.cpp b/src/shared/trk/trkdevice.cpp
index 25f35f33d9d..a227e0c3a52 100644
--- a/src/shared/trk/trkdevice.cpp
+++ b/src/shared/trk/trkdevice.cpp
@@ -753,12 +753,12 @@ int UnixReaderThread::tryRead()
     if (FD_ISSET(m_terminatePipeFileDescriptors[0], &tempReadSet)
         || FD_ISSET(m_terminatePipeFileDescriptors[0], &tempExceptionSet))
         return 1;
+
     // determine number of pending bytes and read
     int numBytes;
     if (ioctl(fileDescriptor, FIONREAD, &numBytes) < 0) {
         emit error(msgUnixCallFailedErrno("ioctl", errno));
         return -1;
-
     }
     m_context->mutex.lock();
     const QByteArray data = m_context->file.read(numBytes);
@@ -770,7 +770,8 @@ int UnixReaderThread::tryRead()
 void UnixReaderThread::run()
 {
     // Read loop
-    while ( tryRead() == 0) ;
+    while (tryRead() == 0)
+        ;
 }
 
 void UnixReaderThread::terminate()
-- 
GitLab