// register in the unnamed registry so that these tests are run by default
CPPUNIT_TEST_SUITE_REGISTRATION( QueueTestCase );
-// also include in it's own registry so that these tests can be run alone
+// also include in its own registry so that these tests can be run alone
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( QueueTestCase, "QueueTestCase" );
// this function creates the given number of threads and posts msgCount
while ( messagesReceived < m_maxMsgCount )
{
wxMessageQueueError result;
- int msg;
+ int msg = -1; // just to suppress "possibly uninitialized" warnings
if ( m_type == WaitWithTimeout )
result = m_queue.ReceiveTimeout(1000, msg);