diff options
author | glx <glx@openttd.org> | 2007-01-13 21:28:46 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-01-13 21:28:46 +0000 |
commit | f833de284f0851b2766d4edec7848c6898f45037 (patch) | |
tree | 29a2ddf51992858e799e757112fa5b40511540c2 /src/newgrf_config.cpp | |
parent | 9bfb3f08d95bf308eb5da9e59b9dc9fb214de6a1 (diff) | |
download | openttd-f833de284f0851b2766d4edec7848c6898f45037.tar.xz |
(svn r8111) -Fix r8106: silence warnings
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r-- | src/newgrf_config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp index acf519ea3..39cb9215d 100644 --- a/src/newgrf_config.cpp +++ b/src/newgrf_config.cpp @@ -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 */ |