diff --git a/QnetGateway.cpp b/QnetGateway.cpp index 23bb903..46ebca7 100644 --- a/QnetGateway.cpp +++ b/QnetGateway.cpp @@ -692,7 +692,7 @@ void CQnetGateway::ProcessSlowData(unsigned char *data, const unsigned short sid for (int i=0; i<3; i++) { if (band_txt[i].streamID == sid) { if (new_group[i]) { - header_type = c1 & 0xf0; + const unsigned char header_type = c1 & 0xf0; // header squelch if ((header_type == 0x50) || (header_type == 0xc0)) { diff --git a/QnetGateway.h b/QnetGateway.h index 611ac4d..25356d9 100644 --- a/QnetGateway.h +++ b/QnetGateway.h @@ -94,7 +94,6 @@ private: int af_family[2] = { AF_UNSPEC, AF_UNSPEC }; // text stuff bool new_group[3] = { true, true, true }; - unsigned char header_type = 0; short to_print[3] = { 0, 0, 0 }; bool ABC_grp[3] = { false, false, false }; bool C_seen[3] = { false, false, false };