fixed fallthough warning for C++17

This commit is contained in:
orignal 2020-02-28 14:15:41 -05:00
parent 1893127e84
commit e0cb26bd9e
5 changed files with 5 additions and 4 deletions

View file

@ -911,7 +911,7 @@ namespace garlic
case eGarlicDeliveryTypeDestination:
LogPrint (eLogDebug, "Garlic: type destination");
buf += 32; // TODO: check destination
// no break here
[[fallthrough]]; // no break here
case eGarlicDeliveryTypeLocal:
{
LogPrint (eLogDebug, "Garlic: type local");