diff src/openttd.cpp @ 5652:ce642f6d3e06 draft

(svn r8111) -Fix r8106: silence warnings
author glx <glx@openttd.org>
date Sat, 13 Jan 2007 21:28:46 +0000 (2007-01-13)
parents 716e263a739d
children 78a7505fd513
line wrap: on
line diff
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1195,6 +1195,7 @@
 	switch (gcf_res) {
 		case GCF_COMPATIBLE: _switch_mode_errorstr = STR_NEWGRF_COMPATIBLE_LOAD_WARNING; break;
 		case GCF_NOT_FOUND: _switch_mode_errorstr = STR_NEWGRF_DISABLED_WARNING; break;
+		default: break;
 	}
 
 	/* Update current year