From 846a91faad76e274ea059ecc1e480d5ff7bf44dd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 27 Feb 2019 10:23:46 +0100 Subject: loplugin:externvar Change-Id: I7f09837e76a8368fd60aed1bb3a16fd0434e11ec Reviewed-on: https://gerrit.libreoffice.org/68466 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- idlc/source/scanner.l | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'idlc') diff --git a/idlc/source/scanner.l b/idlc/source/scanner.l index 40f3670f78f5..cf018ec21567 100644 --- a/idlc/source/scanner.l +++ b/idlc/source/scanner.l @@ -53,13 +53,13 @@ class AstMember; #include /* handle locations */ -int yycolumn = 1; +static int yycolumn = 1; #define YY_USER_ACTION idlc()->setOffset(yycolumn, yycolumn+yyleng-1); \ yycolumn += yyleng; -sal_Int32 beginLine = 0; -OString docu; +static sal_Int32 beginLine = 0; +static OString docu; static int asciiToInteger(char const * s, sal_Int64 * sval, sal_uInt64 * uval) { bool neg = false; -- cgit