Skip to content

Commit

Permalink
oops, don't use those GCC attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
ZXGuesser committed May 16, 2018
1 parent ea9fb60 commit df7aaa2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packetmag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ Packet* PacketMag::GetPacket(Packet* p)
}
_lastTxt=_page->GetTxRow(28); // Get _lastTxt ready for packet 28 processing
_state=PACKETSTATE_PACKET28; // // Intentional fall through to PACKETSTATE_PACKET28
__attribute__ ((fallthrough));
/* fallthrough */
case PACKETSTATE_PACKET28:
//std::cerr << "TRACE-28 " << std::endl;

Expand Down Expand Up @@ -303,7 +303,7 @@ Packet* PacketMag::GetPacket(Packet* p)
_state=PACKETSTATE_TEXTROW;
return nullptr;
}
__attribute__ ((fallthrough));
/* fallthrough */
case PACKETSTATE_PACKET26:
if (_lastTxt)
{
Expand All @@ -321,7 +321,7 @@ Packet* PacketMag::GetPacket(Packet* p)
_thisRow=0;
return nullptr;
}
__attribute__ ((fallthrough));
/* fallthrough */
case PACKETSTATE_TEXTROW:
// std::cerr << "TRACE-T " << std::endl;

Expand Down

0 comments on commit df7aaa2

Please sign in to comment.