(svn r25274) -Cleanup: remove unused class instance variables

This commit is contained in:
rubidium 2013-05-20 20:26:56 +00:00
parent 992989dccb
commit 2f7d9a2851
2 changed files with 1 additions and 3 deletions

View File

@ -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. */

View File

@ -30,7 +30,6 @@ static uint8 _selected_object_view; ///< the view of the selected objec
class BuildObjectWindow : public PickerWindowBase {
static const int OBJECT_MARGIN = 4; ///< The margin (in pixels) around an object.
int line_height; ///< The height of a single line.
int object_height; ///< The height of the object box.
int info_height; ///< The height of the info box.
Scrollbar *vscroll; ///< The scrollbar.