CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jon Daniel <[EMAIL PROTECTED]>  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