From 91d60de028750c73184f1fd895be81923caa46c7 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 1 Jul 2016 08:06:42 +0100 Subject: [PATCH] Removed unused member variable and adding initializer --- src/osgPlugins/txp/trpage_rarchive.cpp | 1 + src/osgPlugins/txp/trpage_read.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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;