wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src help.cpp


From: Jon Daniel
Subject: [Wesnoth-cvs-commits] wesnoth/src help.cpp
Date: Sun, 23 Jan 2005 10:32:07 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jon Daniel <address@hidden>     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:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]