Commit 3281a9e6 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlJSEditor: Fix compilation warning (gcc)

Reviewed-by: Christian Kamm
parent c8eb6ec7
......@@ -81,15 +81,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();
Supports Markdown
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