mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix warning: this statement may fall through
/libretroshare/src/dht/connectstatebox.cc:394: warning: this statement may fall through [-Wimplicit-fallthrough=] if (mNextAttemptTS > now) /libretroshare/src/dht/connectstatebox.cc:401: here default: /libretroshare/src/dht/connectstatebox.cc:406: warning: this statement may fall through [-Wimplicit-fallthrough=] if (mState != CSB_FAILED_WAIT) /libretroshare/src/dht/connectstatebox.cc:414: here case CSB_START: /libretroshare/src/dht/connectstatebox.cc:530: warning: this statement may fall through [-Wimplicit-fallthrough=] if (mNextAttemptTS > now) /libretroshare/src/dht/connectstatebox.cc:540: here default: /libretroshare/src/dht/connectstatebox.cc:543: warning: this statement may fall through [-Wimplicit-fallthrough=] if (mState != CSB_FAILED_WAIT) /libretroshare/src/dht/connectstatebox.cc:551: here case CSB_START:
This commit is contained in:
parent
7d8b3796d1
commit
8dbb0d61af
@ -398,6 +398,7 @@ uint32_t PeerConnectStateBox::connectCb_direct()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} /* FALLTHROUGH TO START CASE */
|
} /* FALLTHROUGH TO START CASE */
|
||||||
|
/* fallthrough */
|
||||||
default:
|
default:
|
||||||
case CSB_REVERSE_WAIT:
|
case CSB_REVERSE_WAIT:
|
||||||
case CSB_PROXY_WAIT:
|
case CSB_PROXY_WAIT:
|
||||||
@ -411,6 +412,7 @@ uint32_t PeerConnectStateBox::connectCb_direct()
|
|||||||
}
|
}
|
||||||
|
|
||||||
} /* FALLTHROUGH TO START CASE */
|
} /* FALLTHROUGH TO START CASE */
|
||||||
|
/* fallthrough */
|
||||||
case CSB_START:
|
case CSB_START:
|
||||||
{
|
{
|
||||||
/* starting up the connection */
|
/* starting up the connection */
|
||||||
@ -537,6 +539,7 @@ uint32_t PeerConnectStateBox::connectCb_unreachable()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} /* FALLTHROUGH TO START CASE */
|
} /* FALLTHROUGH TO START CASE */
|
||||||
|
/* fallthrough */
|
||||||
default:
|
default:
|
||||||
case CSB_DIRECT_WAIT:
|
case CSB_DIRECT_WAIT:
|
||||||
{
|
{
|
||||||
@ -548,6 +551,7 @@ uint32_t PeerConnectStateBox::connectCb_unreachable()
|
|||||||
}
|
}
|
||||||
|
|
||||||
} /* FALLTHROUGH TO START CASE */
|
} /* FALLTHROUGH TO START CASE */
|
||||||
|
/* fallthrough */
|
||||||
case CSB_START:
|
case CSB_START:
|
||||||
{
|
{
|
||||||
/* starting up the connection */
|
/* starting up the connection */
|
||||||
|
Loading…
Reference in New Issue
Block a user