diff options
| author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-11-09 16:05:58 +0100 |
|---|---|---|
| committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-10 13:32:14 +0100 |
| commit | 124280b9a691b2118ef38e601fe356c8e21d2ac3 (patch) | |
| tree | deed0285cf018df7804d6b6b0e364e9523cd6eb8 /src/3rdparty | |
| parent | 385450bf154c33660e4790768feaf648cc929663 (diff) | |
| download | qtscript-124280b9a691b2118ef38e601fe356c8e21d2ac3.tar.gz | |
QtScript: Fix warnings about set/unused variables.
Change-Id: Ibee482c27341914fb4ae959e388c3376755b78df
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'src/3rdparty')
| -rw-r--r-- | src/3rdparty/javascriptcore/JavaScriptCore/jit/JITArithmetic.cpp | 1 | ||||
| -rw-r--r-- | src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITArithmetic.cpp b/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITArithmetic.cpp index edd7d2b..927b192 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITArithmetic.cpp +++ b/src/3rdparty/javascriptcore/JavaScriptCore/jit/JITArithmetic.cpp @@ -2339,7 +2339,6 @@ void JIT::emitSlow_op_mul(Instruction* currentInstruction, Vector<SlowCaseEntry> unsigned result = currentInstruction[1].u.operand; unsigned op1 = currentInstruction[2].u.operand; unsigned op2 = currentInstruction[3].u.operand; - OperandTypes types = OperandTypes::fromInt(currentInstruction[4].u.operand); bool op1HasImmediateIntFastCase = isOperandConstantImmediateInt(op1) && getConstantOperandImmediateInt(op1) > 0; bool op2HasImmediateIntFastCase = !op1HasImmediateIntFastCase && isOperandConstantImmediateInt(op2) && getConstantOperandImmediateInt(op2) > 0; diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp b/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp index 2bedca6..ef53f3c 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp +++ b/src/3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp @@ -579,7 +579,6 @@ compileBranch(int options, int* brackets, unsigned char** codePtr, unsigned char* tempcode; bool didGroupSetFirstByte = false; const UChar* ptr = *ptrPtr; - const UChar* tempptr; unsigned char* previous = NULL; unsigned char classbits[32]; @@ -1586,7 +1585,6 @@ compileBranch(int options, int* brackets, unsigned char** codePtr, for validity in the pre-compiling pass. */ case '\\': - tempptr = ptr; c = checkEscape(&ptr, patternEnd, errorCodePtr, cd.numCapturingBrackets, false); /* Handle metacharacters introduced by \. For ones like \d, the ESC_ values |
