mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix clang warnings
This commit is contained in:
committed by
Vinnie Falco
parent
9bf1a76e91
commit
cd30e552a7
@@ -87,7 +87,7 @@ public:
|
||||
Consumer c (logic.newInboundEndpoint (addr));
|
||||
|
||||
// Create load until we get a warning
|
||||
for (std::size_t n (maxLoopCount); n>=0; --n)
|
||||
for (std::size_t n (maxLoopCount); true; --n)
|
||||
{
|
||||
if (n == 0)
|
||||
{
|
||||
@@ -104,7 +104,7 @@ public:
|
||||
}
|
||||
|
||||
// Create load until we get dropped
|
||||
for (std::size_t n (maxLoopCount); n>=0; --n)
|
||||
for (std::size_t n (maxLoopCount); true; --n)
|
||||
{
|
||||
if (n == 0)
|
||||
{
|
||||
@@ -127,7 +127,7 @@ public:
|
||||
expect (c.disconnect ());
|
||||
}
|
||||
|
||||
for (std::size_t n (maxLoopCount); n>=0; --n)
|
||||
for (std::size_t n (maxLoopCount); true; --n)
|
||||
{
|
||||
Consumer c (logic.newInboundEndpoint (addr));
|
||||
if (n == 0)
|
||||
|
||||
Reference in New Issue
Block a user