1
0
Fork 0

Remove compiler warnings.

ycs232-kbc
Jonathan Naylor 9 years ago
parent da29055611
commit 17f45bbc25

@ -110,7 +110,7 @@ void CAPRSWriterThread::entry()
if (m_connected) { if (m_connected) {
if (!m_queue.isEmpty()){ if (!m_queue.isEmpty()){
char* p; char* p = NULL;
m_queue.getData(&p, 1U); m_queue.getData(&p, 1U);
LogMessage("APRS ==> %s", p); LogMessage("APRS ==> %s", p);
@ -151,7 +151,7 @@ void CAPRSWriterThread::entry()
m_socket.close(); m_socket.close();
while (!m_queue.isEmpty()) { while (!m_queue.isEmpty()) {
char* p; char* p = NULL;
m_queue.getData(&p, 1U); m_queue.getData(&p, 1U);
delete[] p; delete[] p;
} }

Loading…
Cancel
Save