diff --git a/src/osgPlugins/txp/trpage_rarchive.cpp b/src/osgPlugins/txp/trpage_rarchive.cpp index 6ce4abdd8..83d233ec3 100644 --- a/src/osgPlugins/txp/trpage_rarchive.cpp +++ b/src/osgPlugins/txp/trpage_rarchive.cpp @@ -35,6 +35,7 @@ trpgr_Archive::trpgr_Archive() ness = LittleEndian; strcpy(dir,"."); tileCache = NULL; + headerRead = false; } // Destructor diff --git a/src/osgPlugins/txp/trpage_read.h b/src/osgPlugins/txp/trpage_read.h index 2bfe0e031..1c0a9ab5d 100644 --- a/src/osgPlugins/txp/trpage_read.h +++ b/src/osgPlugins/txp/trpage_read.h @@ -229,7 +229,6 @@ protected: bool headerRead; trpgEndian ness; FILE *fp; - int fid; // Header info char dir[DIR_SIZE]; trpgHeader header;