diff --git a/src/libs/qmljs/qmljsbind.cpp b/src/libs/qmljs/qmljsbind.cpp
index 5557f6317a077fa7e0c86dc898a5335f6b38b296..bdd626e22e50f4234bde1f214a1c149588cb84e0 100644
--- a/src/libs/qmljs/qmljsbind.cpp
+++ b/src/libs/qmljs/qmljsbind.cpp
@@ -168,9 +168,8 @@ protected:
 
 } // end of anonymous namespace
 
-Bind::Bind(Document::Ptr doc, const Snapshot &snapshot, Interpreter::Engine *interp)
+Bind::Bind(Document::Ptr doc, Interpreter::Engine *interp)
     : _doc(doc),
-      _snapshot(snapshot),
       _interp(interp),
       _currentObjectValue(0),
       _typeEnvironment(0),
@@ -241,7 +240,7 @@ ObjectValue *Bind::scopeChainAt(Document::Ptr currentDocument, const Snapshot &s
 
         QStringList localImports;
         foreach (Document::Ptr doc, documentByPath.values(path)) {
-            Bind *newBind = new Bind(doc, snapshot, interp);
+            Bind *newBind = new Bind(doc, interp);
             binds += newBind;
 
             localImports += newBind->localImports();
diff --git a/src/libs/qmljs/qmljsbind.h b/src/libs/qmljs/qmljsbind.h
index 95dcbab11085cb349d7d3dab12aedc42eb7a2e08..f9f35cbdc2380f93745b2d08e5ccb741f1ae98dc 100644
--- a/src/libs/qmljs/qmljsbind.h
+++ b/src/libs/qmljs/qmljsbind.h
@@ -45,7 +45,7 @@ class Link;
 class QMLJS_EXPORT Bind: protected AST::Visitor
 {
 protected:
-    Bind(Document::Ptr doc, const Snapshot &snapshot, Interpreter::Engine *interp);
+    Bind(Document::Ptr doc, Interpreter::Engine *interp);
 
 public:
     virtual ~Bind();
@@ -84,7 +84,6 @@ protected:
 
 private:
     Document::Ptr _doc;
-    Snapshot _snapshot;
     Interpreter::Engine *_interp;
 
     Interpreter::ObjectValue *_currentObjectValue;