diff options
author | Jedrzej Nowacki <jedrzej.nowacki@nokia.com> | 2009-08-18 16:10:22 (GMT) |
---|---|---|
committer | Jedrzej Nowacki <jedrzej.nowacki@nokia.com> | 2009-08-19 08:30:15 (GMT) |
commit | 0fac8fc7bf770dcbbe4e93094056c4d2ac994cd9 (patch) | |
tree | a741f0a4472e7d715f2462395f704016d7d7368e | |
parent | 7ef023246eb7d4d4785a04bef74d79d552ed400b (diff) | |
download | Qt-0fac8fc7bf770dcbbe4e93094056c4d2ac994cd9.zip Qt-0fac8fc7bf770dcbbe4e93094056c4d2ac994cd9.tar.gz Qt-0fac8fc7bf770dcbbe4e93094056c4d2ac994cd9.tar.bz2 |
Clean up
There is no point in setting class member in destructor
Reviewed-by: Kent Hansen
-rw-r--r-- | src/script/api/qscriptvalue.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/script/api/qscriptvalue.cpp b/src/script/api/qscriptvalue.cpp index 7c8bd56..7021cbc 100644 --- a/src/script/api/qscriptvalue.cpp +++ b/src/script/api/qscriptvalue.cpp @@ -438,7 +438,6 @@ QScriptValue::~QScriptValue() eng_p->releaseJSCValue(d_ptr->jscValue); } delete d_ptr; - d_ptr = 0; } } |