Commit 395b1524 authored by Davis King's avatar Davis King

Minor change to suppress a compiler warning.

parent ec562be0
...@@ -386,7 +386,7 @@ namespace dlib ...@@ -386,7 +386,7 @@ namespace dlib
// Since we don't have a receive pipe to put messages into we will // Since we don't have a receive pipe to put messages into we will
// just read the bytes from the connection and ignore them. // just read the bytes from the connection and ignore them.
char buf[1000]; char buf[1000];
while (con->read(buf, sizeof(buf)) > 0); while (con->read(buf, sizeof(buf)) > 0) ;
} }
} }
catch (std::bad_alloc& ) catch (std::bad_alloc& )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment