Commit 09226e04 authored by Sean McBride's avatar Sean McBride Committed by Kitware Robot

Merge topic 'Wcomma2'

65bbb8f0 Suppress last -Wcomma warning since it’s a reasonable usage
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1309
parents 9206fc3d 65bbb8f0
......@@ -56,7 +56,7 @@ static bool GetLineFromStream(istream& is,
// If no characters are read from the stream, the end of file has
// been reached.
while((is.getline(buffer, bufferSize), is.gcount() > 0))
while(((void)(is.getline(buffer, bufferSize)), (is.gcount() > 0)))
{
haveData = true;
line.append(buffer);
......
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