mail[Wesnoth-commits] r24861 - /trunk/src/network.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by bruno on March 19, 2008 - 18:32:
Author: brunowolff
Date: Wed Mar 19 18:32:31 2008
New Revision: 24861

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24861&view=rev
Log:
Silence gcc 4.3 warning about empty while loop by adding braces.

Modified:
    trunk/src/network.cpp

Modified: trunk/src/network.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/network.cpp?rev=24861&r1=24860&r2=24861&view=diff
==============================================================================
--- trunk/src/network.cpp (original)
+++ trunk/src/network.cpp Wed Mar 19 18:32:31 2008
@@ -428,7 +428,7 @@
 
        sockets.push_back(connect_);
 
-       while(!notify_finished());
+       while(!notify_finished()) {};
 }
 
 } // end namespace




Related Messages


Powered by MHonArc, Updated Wed Mar 19 18:41:24 2008