--- a/cmajor++/Cm/Cm.Core/Variable.hpp
+++ b/cmajor++/Cm/Cm.Core/Variable.hpp
@@ -71,8 +71,6 @@
     virtual void Dispose();
     virtual ObjectPtr Clone(CloneContext& context) const;
     virtual bool IsMemberVariable() const { return true; }
-    int Index() const { return index; }
-    void SetIndex(int index_) { index = index_; }
     int VarIndex() const { return varIndex; }
     void SetVarIndex(int varIndex_) { varIndex = varIndex_; }
     void SetClassType(const ClassTypePtr& classType_) { classType = classType_; }
@@ -86,7 +84,6 @@
     void RegisterDestructor(Ir& ir);
     void SetInitializedVar() { isInitializedVar = true; }
 private:
-    int index;
     int varIndex;
     WeakClassTypePtr classType;
     Llvm::Ir::ObjectPtr destructionNode;