mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Dispatcher: Avoid warning by using for(;;) instead of while(true).
This commit is contained in:
@@ -209,7 +209,7 @@ void Dispatcher::ClientThreadMain(const char* server_name, unsigned int port) {
|
||||
|
||||
// receive initial assignments
|
||||
std::vector<std::shared_ptr<Message>> incoming;
|
||||
while (true) {
|
||||
for (;;) {
|
||||
if (!msg) {
|
||||
// disconnected, retry
|
||||
DEBUG("client disconnected waiting for initial entries");
|
||||
|
||||
Reference in New Issue
Block a user