Commit 65ef1133 authored by Kai Koehne's avatar Kai Koehne Committed by Robert Loehning
Browse files

QmlJSEditor: Fix compilation warning (gcc)

Reviewed-by: Christian Kamm
(cherry picked from commit 3281a9e6)
parent 0ecb30a9
...@@ -82,15 +82,6 @@ using namespace QmlJS; ...@@ -82,15 +82,6 @@ using namespace QmlJS;
using namespace QmlJS::AST; using namespace QmlJS::AST;
using namespace QmlJSEditor::Internal; 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) static int blockStartState(const QTextBlock &block)
{ {
int state = block.userState(); int state = block.userState();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment