fixed warnings

This commit is contained in:
Jeff Hill
2006-12-05 22:54:52 +00:00
parent b8bcfdcdda
commit 724a589fe1
4 changed files with 4 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ typedef struct epicsMutexOSD {
} os;
} epicsMutexOSD;
static char thisIsNT = 0;
static BOOL thisIsNT = FALSE;
static LONG weHaveInitialized = 0;
/*

View File

@@ -100,7 +100,7 @@ BOOL WINAPI DllMain (
HANDLE hModule, DWORD dwReason, LPVOID lpReserved )
{
static DWORD dllHandleIndex;
HMODULE dllHandle;
HMODULE dllHandle = 0;
BOOL success = TRUE;
switch ( dwReason )

View File

@@ -14,14 +14,13 @@
#include <new>
#include <iostream>
#include <cstdio>
#if defined(__GNUC__) && (__GNUC__<2 || (__GNUC__==2 && __GNUC_MINOR__<=96))
#include <climits>
#else
#include <limits>
#endif
#include <stdio.h>
#include "epicsUnitTest.h"
#include "epicsThread.h"
#include "testMain.h"

View File

@@ -131,7 +131,7 @@ public:
bool sharingOK () const;
unsigned threadPriority () const;
protected:
virtual ~timerQueueActive () = 0;
~timerQueueActive ();
private:
timerQueue queue;
epicsEvent rescheduleEvent;