Fix 'declaration hides previous local declaration' warnings

This commit is contained in:
Maarten Bent
2019-11-21 21:29:36 +01:00
parent bfe737e7e7
commit 016f00777e
2 changed files with 33 additions and 33 deletions

View File

@@ -677,8 +677,8 @@ wxThread::ExitCode ThreadWorker::Entry()
} else {
//wxLogMessage("ThreadWorker: Connected. Sending %d bytes of data",m_outsize);
etype = WorkerEvent::SENDING;
WorkerEvent e(this,etype);
wxGetApp().AddPendingEvent(e);
WorkerEvent e1(this,etype);
wxGetApp().AddPendingEvent(e1);
int to_process = m_outsize;
do {
m_clientSocket->Write(m_outbuf,m_outsize);
@@ -692,8 +692,8 @@ wxThread::ExitCode ThreadWorker::Entry()
if (!failed) {
etype = WorkerEvent::RECEIVING;
WorkerEvent e(this,etype);
wxGetApp().AddPendingEvent(e);
WorkerEvent e2(this,etype);
wxGetApp().AddPendingEvent(e2);
to_process = m_insize;
do {
m_clientSocket->Read(m_inbuf,m_insize);