QmlJSEditor: Fix compilation warning (gcc)

Reviewed-by: Christian Kamm
(cherry picked from commit 3281a9e691)
This commit is contained in:
Kai Koehne
2010-06-29 09:28:45 +02:00
committed by Robert Loehning
parent 0ecb30a9ec
commit 65ef113367

View File

@@ -82,15 +82,6 @@ using namespace QmlJS;
using namespace QmlJS::AST;
using namespace QmlJSEditor::Internal;
static int blockBraceDepth(const QTextBlock &block)
{
int state = block.userState();
if (state == -1)
return 0;
return (state >> 8) & 0xFF;
}
static int blockStartState(const QTextBlock &block)
{
int state = block.userState();