aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/v8/qv8typewrapper.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-10-28 10:24:28 +0200
committerQt by Nokia <qt-info@nokia.com>2011-11-01 11:52:03 +0100
commitc29b3c0974383dfe5e2b4890b5d6377d5aa4264e (patch)
tree8794cef1f6d14b0fc83ba2a3a088ce3b10389255 /src/declarative/qml/v8/qv8typewrapper.cpp
parent80066259f1fcda5d057899592cdecdaff068e9a3 (diff)
Declarative: Fix gcc 4.6 warnings about assigned/unused variables.
Change-Id: Iac4bb4a6b1aa4071a239bb25f25f01b71e36868b Reviewed-by: Alexis Menard <alexis.menard@openbossa.org> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Diffstat (limited to 'src/declarative/qml/v8/qv8typewrapper.cpp')
-rw-r--r--src/declarative/qml/v8/qv8typewrapper.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/qml/v8/qv8typewrapper.cpp b/src/declarative/qml/v8/qv8typewrapper.cpp
index 0023afc858..1a3a349524 100644
--- a/src/declarative/qml/v8/qv8typewrapper.cpp
+++ b/src/declarative/qml/v8/qv8typewrapper.cpp
@@ -159,7 +159,6 @@ QVariant QV8TypeWrapper::toVariant(QV8ObjectResource *r)
v8::Handle<v8::Value> QV8TypeWrapper::Getter(v8::Local<v8::String> property,
const v8::AccessorInfo &info)
{
- v8::Object::ExternalResource *r = info.This()->GetExternalResource();
QV8TypeResource *resource = v8_resource_cast<QV8TypeResource>(info.This());
if (!resource)
@@ -257,7 +256,6 @@ v8::Handle<v8::Value> QV8TypeWrapper::Setter(v8::Local<v8::String> property,
v8::Local<v8::Value> value,
const v8::AccessorInfo &info)
{
- v8::Object::ExternalResource *r = info.This()->GetExternalResource();
QV8TypeResource *resource = v8_resource_cast<QV8TypeResource>(info.This());
if (!resource)