CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jon Daniel <[EMAIL PROTECTED]>  05/01/23 15:35:39

Modified files:
        src            : show_dialog.cpp 

Log message:
        fixed compile time warning: show_dialog.cpp:513: enumeration value 
`NULL_DIALOG'
        not handled in switch by adding a default case to the switch.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/show_dialog.cpp.diff?tr1=1.107&tr2=1.108&r1=text&r2=text

Patches:
Index: wesnoth/src/show_dialog.cpp
diff -u wesnoth/src/show_dialog.cpp:1.107 wesnoth/src/show_dialog.cpp:1.108
--- wesnoth/src/show_dialog.cpp:1.107   Fri Dec 31 21:01:37 2004
+++ wesnoth/src/show_dialog.cpp Sun Jan 23 15:35:38 2005
@@ -1,4 +1,4 @@
-/* $Id: show_dialog.cpp,v 1.107 2004/12/31 21:01:37 isaaccp Exp $ */
+/* $Id: show_dialog.cpp,v 1.108 2005/01/23 15:35:38 j_daniel Exp $ */
 /*
    Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -477,6 +477,7 @@
        std::vector<button> buttons;
        switch(type) {
                case MESSAGE:
+               default:
                        break;
 
                case OK_ONLY: {


Reply via email to