mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-22 06:05:36 +08:00
Remove compiler warnings.
This commit is contained in:
@@ -520,9 +520,6 @@ int CDMRGateway::run()
|
|||||||
|
|
||||||
if (rewritten) {
|
if (rewritten) {
|
||||||
unsigned int slotNo = data.getSlotNo();
|
unsigned int slotNo = data.getSlotNo();
|
||||||
unsigned int dstId = data.getDstId();
|
|
||||||
FLCO flco = data.getFLCO();
|
|
||||||
|
|
||||||
if (status[slotNo] == DMRGWS_NONE || status[slotNo] == DMRGWS_DMRNETWORK1) {
|
if (status[slotNo] == DMRGWS_NONE || status[slotNo] == DMRGWS_DMRNETWORK1) {
|
||||||
m_repeater->write(data);
|
m_repeater->write(data);
|
||||||
status[slotNo] = DMRGWS_DMRNETWORK1;
|
status[slotNo] = DMRGWS_DMRNETWORK1;
|
||||||
@@ -547,9 +544,6 @@ int CDMRGateway::run()
|
|||||||
|
|
||||||
if (rewritten) {
|
if (rewritten) {
|
||||||
unsigned int slotNo = data.getSlotNo();
|
unsigned int slotNo = data.getSlotNo();
|
||||||
unsigned int dstId = data.getDstId();
|
|
||||||
FLCO flco = data.getFLCO();
|
|
||||||
|
|
||||||
if (status[slotNo] == DMRGWS_NONE || status[slotNo] == DMRGWS_DMRNETWORK2) {
|
if (status[slotNo] == DMRGWS_NONE || status[slotNo] == DMRGWS_DMRNETWORK2) {
|
||||||
m_repeater->write(data);
|
m_repeater->write(data);
|
||||||
status[slotNo] = DMRGWS_DMRNETWORK2;
|
status[slotNo] = DMRGWS_DMRNETWORK2;
|
||||||
|
|||||||
Reference in New Issue
Block a user