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

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

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


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

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

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