Remove the unused variables.  And cleanup the code.
diff --git a/lib/bcc/Compiler.cpp b/lib/bcc/Compiler.cpp
index 36697c4..ba3f8aa 100644
--- a/lib/bcc/Compiler.cpp
+++ b/lib/bcc/Compiler.cpp
@@ -308,8 +308,7 @@
 
 
 Compiler::Compiler()
-  : mResId(-1),
-    mUseCache(false),
+  : mUseCache(false),
     mCacheNew(false),
     mCacheFd(-1),
     mCacheMapAddr(NULL),
diff --git a/lib/bcc/Compiler.h b/lib/bcc/Compiler.h
index bf02621..2369f07 100644
--- a/lib/bcc/Compiler.h
+++ b/lib/bcc/Compiler.h
@@ -50,16 +50,11 @@
 
 
   private:
-    // This part is designed to be orthogonal to those exported bcc*() functions
-    // implementation and internal struct BCCscript.
-
     //////////////////////////////////////////////////////////////////////////
     // The variable section below (e.g., Triple, CodeGenOptLevel)
     // is initialized in GlobalInitialization()
     //
     static bool GlobalInitialized;
-    static const char *resNames[64];
-    static int resNamesMmaped[64];
 
     // If given, this will be the name of the target triple to compile for.
     // If not given, the initial values defined in this file will be used.
@@ -91,7 +86,6 @@
   private:
     std::string mError;
 
-    int mResId;             // Set by readBC()
     bool mUseCache;         // Set by readBC()
     bool mCacheNew;         // Set by readBC()
     int mCacheFd;           // Set by readBC()