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

CFG_XCI_ON(false), // Everything starts off, CFG_XCI_ON(false), // Everything starts off,
CFG_XCI_PORT(XCI_Default_Port), // default, and CFG_XCI_PORT(XCI_Default_Port), // default, and
myHome(0), // nulled. myHome(0), // nulled.
XCI_UP(false),
C0(0), C1(0), C2(0), C3(0), 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. snfXCImgr::~snfXCImgr() { // Stop when we are destroyed.

+ 2
- 1
snfXCImgr.hpp View File

void startup_XCI(); // XCI startup function. void startup_XCI(); // XCI startup function.
void shutdown_XCI(); // XCI shutdown function. void shutdown_XCI(); // XCI shutdown function.


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


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


public: public:



Loading…
Cancel
Save