CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Jon Daniel <[EMAIL PROTECTED]> 05/01/23 15:32:07
Modified files:
src : help.cpp
Log message:
fixed compile time warning: help.cpp:1919: `int xpos' might be used
uninitialized in this function by adding a default case to the switch
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/help.cpp.diff?tr1=1.65&tr2=1.66&r1=text&r2=text
Patches:
Index: wesnoth/src/help.cpp
diff -u wesnoth/src/help.cpp:1.65 wesnoth/src/help.cpp:1.66
--- wesnoth/src/help.cpp:1.65 Sat Jan 8 22:11:21 2005
+++ wesnoth/src/help.cpp Sun Jan 23 15:32:07 2005
@@ -1924,6 +1924,7 @@
xpos = curr_loc_.first;
break;
case LEFT:
+ default:
xpos = 0;
break;
case MIDDLE: