From 2f7d9a28512e80cbd8a6bd932644928c5f4dade1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 20 May 2013 20:26:56 +0000 Subject: (svn r25274) -Cleanup: remove unused class instance variables --- src/depend/depend.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/depend') 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. */ -- cgit v1.2.3-70-g09d2