From 6e50fef4c055b2110328dc820038f41fc6c85530 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 9 Jan 2017 15:42:43 +0100 Subject: New loplugin:externvar: idlc Change-Id: I7b892efd6a5267c228c4cf17e80fac82628fbb64 --- idlc/source/idlccompile.cxx | 3 --- idlc/source/idlcproduce.cxx | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'idlc') 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) { -- cgit