summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-09 15:42:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-09 15:42:43 +0100
commit6e50fef4c055b2110328dc820038f41fc6c85530 (patch)
tree7edcea11fbf2352c97225c735534f771f42b6d39 /idlc
parent884437ef2e8f6739e149c96be5992253c3720bcb (diff)
New loplugin:externvar: idlc
Change-Id: I7b892efd6a5267c228c4cf17e80fac82628fbb64
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/idlccompile.cxx3
-rw-r--r--idlc/source/idlcproduce.cxx2
2 files changed, 1 insertions, 4 deletions
diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx
index 1f628718f479..5066752b3599 100644
--- a/idlc/source/idlccompile.cxx
+++ b/idlc/source/idlccompile.cxx
@@ -48,9 +48,6 @@ extern int yyparse();
extern FILE* yyin;
extern int yydebug;
-sal_Int32 lineNumber = 1;
-
-
static sal_Char tmpFilePattern[512];
bool isFileUrl(const OString& fileName)
diff --git a/idlc/source/idlcproduce.cxx b/idlc/source/idlcproduce.cxx
index ab4e52c90fc4..67da2cdd3512 100644
--- a/idlc/source/idlcproduce.cxx
+++ b/idlc/source/idlcproduce.cxx
@@ -39,7 +39,7 @@
using namespace ::osl;
-std::list< OString >* pCreatedDirectories = nullptr;
+static std::list< OString >* pCreatedDirectories = nullptr;
static bool checkOutputPath(const OString& completeName)
{