Resolve some extra semicolon warnings

This commit is contained in:
Maarten Bent
2019-07-21 15:15:36 +02:00
parent 3d970a9c08
commit 2815870507
22 changed files with 34 additions and 34 deletions

View File

@@ -1675,7 +1675,7 @@ wxString BugsGridTable::GetTypeName(int WXUNUSED(row), int col)
{
case Col_Id:
case Col_Priority:
return wxGRID_VALUE_NUMBER;;
return wxGRID_VALUE_NUMBER;
case Col_Severity:
// fall thorugh (TODO should be a list)
@@ -2473,7 +2473,7 @@ void GridFrame::OnRenderPaint( wxPaintEvent& event )
canvas->PrepareDC( dc );
if ( !m_gridBitmap.IsOk() )
return;;
return;
wxMemoryDC memDc( m_gridBitmap );

View File

@@ -83,7 +83,7 @@ public:
return col;
}
return *wxWHITE;
};
}
return wxColour();
}

View File

@@ -218,13 +218,13 @@ Client::OnCmdLineParsed(wxCmdLineParser& pParser)
if (!file.IsOpened()) {
wxLogError("Cannot open file %s",fname);
return false;
};
}
if (!file.ReadAll(&m_message)) {
wxLogError("Cannot read content of file %s",fname);
return false;
};
}
m_sendType = SEND_MESSAGE;
};
}
if (pParser.Found("s",&m_stressWorkers))
m_sendType = STRESS_TEST;
@@ -440,7 +440,7 @@ Client::OnWorkerEvent(WorkerEvent& pEvent) {
m_statDone++;
m_statDisconnecting--;
break;
};
}
if (pEvent.isFailed() || pEvent.m_eventType == WorkerEvent::DONE)
{
@@ -719,7 +719,7 @@ wxThread::ExitCode ThreadWorker::Entry()
etype = WorkerEvent::DISCONNECTING;
WorkerEvent e(this,etype);
wxGetApp().AddPendingEvent(e);
};
}
m_clientSocket->Close();
m_clientSocket->Destroy();
m_clientSocket = NULL;

View File

@@ -408,7 +408,7 @@ void Server::OnSocketEvent(wxSocketEvent& pEvent)
else
{
wxLogError("Server: cannot create next thread (current threads: %d", m_threadWorkers.size());
};
}
}
else
{