Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment