Browse Source

Minor tweaks to eliminate compiler warnings in snfXCImgr.*

git-svn-id: https://svn.microneil.com/svn/SNFMulti/trunk@13 dc71a809-1921-45c4-985c-09c81d0142d9
wx
madscientist 15 years ago
parent
commit
ab8dc7e063
2 changed files with 6 additions and 4 deletions
  1. 4
    3
      snfXCImgr.cpp
  2. 2
    1
      snfXCImgr.hpp

+ 4
- 3
snfXCImgr.cpp View File

@@ -746,10 +746,11 @@ snfXCImgr::snfXCImgr() :
CFG_XCI_ON(false), // Everything starts off,
CFG_XCI_PORT(XCI_Default_Port), // default, and
myHome(0), // nulled.
XCI_UP(false),
C0(0), C1(0), C2(0), C3(0),
Listener(0), diagLoopCount(0), diagClientCount(0),
TimeToStop(true) {
Listener(0),
XCI_UP(false),
diagLoopCount(0), diagClientCount(0),
TimeToStop(true) { // We don't run until linkHome().
}

snfXCImgr::~snfXCImgr() { // Stop when we are destroyed.

+ 2
- 1
snfXCImgr.hpp View File

@@ -166,11 +166,12 @@ class snfXCImgr : private Thread {
void startup_XCI(); // XCI startup function.
void shutdown_XCI(); // XCI shutdown function.

bool TimeToStop; // True when shutting down.
void myTask(); // Main thread task.

volatile int diagLoopCount;
volatile int diagClientCount;
bool TimeToStop; // True when shutting down.

public:


Loading…
Cancel
Save