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

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

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


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

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jon Daniel <address@hidden>     05/01/23 15:40:58

Modified files:
        src            : reports.cpp 

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

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

Patches:
Index: wesnoth/src/reports.cpp
diff -u wesnoth/src/reports.cpp:1.56 wesnoth/src/reports.cpp:1.57
--- wesnoth/src/reports.cpp:1.56        Fri Dec 31 21:01:37 2004
+++ wesnoth/src/reports.cpp     Sun Jan 23 15:40:56 2005
@@ -397,7 +397,8 @@
                        return report();
                }
        }
-               
+       default:
+               break;
        }
        return report(str.str());
 }




reply via email to

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