diff options
author | rubidium <rubidium@openttd.org> | 2013-05-20 20:26:56 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-05-20 20:26:56 +0000 |
commit | 2f7d9a28512e80cbd8a6bd932644928c5f4dade1 (patch) | |
tree | 6a02b64f7a5312bac01afab6ffa1d2a3b6d8dd46 /src/depend | |
parent | 992989dccbc2005949cae351778432cd36218c82 (diff) | |
download | openttd-2f7d9a28512e80cbd8a6bd932644928c5f4dade1.tar.xz |
(svn r25274) -Cleanup: remove unused class instance variables
Diffstat (limited to 'src/depend')
-rw-r--r-- | src/depend/depend.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/depend/depend.cpp b/src/depend/depend.cpp index 1805e3286..1d375aed6 100644 --- a/src/depend/depend.cpp +++ b/src/depend/depend.cpp @@ -83,7 +83,7 @@ public: * @param filename the file to open * @post the file is open; otherwise the application is killed. */ - File(const char *filename) : filename(filename) + File(const char *filename) { this->fp = fopen(filename, "r"); if (this->fp == NULL) { @@ -129,7 +129,6 @@ public: private: FILE *fp; ///< The currently opened file. char *dirname; ///< The directory of the file. - const char *filename; ///< The name of the file. }; /** A token returned by the tokenizer. */ |