Skip to content

Commit

Permalink
(svn r8111) -Fix r8106: silence warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
glx22 committed Jan 13, 2007
1 parent 9bfb3f0 commit f833de2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/newgrf_config.cpp
Expand Up @@ -210,7 +210,7 @@ GCF_Flags IsGoodGRFConfigList(void)
for (GRFConfig *c = _grfconfig; c != NULL; c = c->next) {
const GRFConfig *f = FindGRFConfig(c->grfid, c->md5sum);
if (f == NULL) {
char buf[256], *p = buf;
char buf[256];

/* If we have not found the exactly matching GRF try to find one with the
* same grfid, as it most likely is compatible */
Expand Down
1 change: 1 addition & 0 deletions src/openttd.cpp
Expand Up @@ -1195,6 +1195,7 @@ bool AfterLoadGame(void)
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
Expand Down

0 comments on commit f833de2

Please sign in to comment.