From aa8ce0ba24c3fc99b13b0f45932035ee6fd0e068 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Wed, 2 Oct 2019 10:41:36 +0200 Subject: Python: remove unused static string Change-Id: I4357157d98f039c654b16de4e469c18c32bbb0ed Reviewed-by: hjk --- src/plugins/python/pythoneditor.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/plugins/python/pythoneditor.cpp') diff --git a/src/plugins/python/pythoneditor.cpp b/src/plugins/python/pythoneditor.cpp index 08e5e475fe..8422eb221f 100644 --- a/src/plugins/python/pythoneditor.cpp +++ b/src/plugins/python/pythoneditor.cpp @@ -126,7 +126,6 @@ FilePath getPylsModulePath(CommandLine pylsCommand) + QRegularExpression::escape( QDir::toNativeSeparators("/pyls/__init__.py")) + '$'; - static const QString cachedPattern = " matches " + pylsInitPattern; static const QRegularExpression regexCached(" matches " + pylsInitPattern, QRegularExpression::MultilineOption); static const QRegularExpression regexNotCached(" code object from " + pylsInitPattern, -- cgit v1.2.1