Index: /trunk/BNC/bncgetthread.cpp
===================================================================
--- /trunk/BNC/bncgetthread.cpp	(revision 714)
+++ /trunk/BNC/bncgetthread.cpp	(revision 715)
@@ -406,6 +406,4 @@
   double curLat = 0.;
   double leapsec = 14.;  // Leap second for latency estimation
-  int week;
-  double sec;
 
   _decodeTime = QDateTime::currentDateTime();
@@ -449,5 +447,4 @@
         char* data = new char[nBytes];
         _socket->read(data, nBytes);
-        currentGPSWeeks(week, sec);
 
       if (_inspSegm<1) {
@@ -557,4 +554,7 @@
           // Check observation epoch
           // -----------------------
+          int week;
+          double sec;
+          currentGPSWeeks(week, sec);
           const double secPerWeek = 7.0 * 24.0 * 3600.0;
 
