Remove compiler warnings.
This commit is contained in:
parent
da29055611
commit
17f45bbc25
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue