From f72ebcbe43102c3a6eda1ec826ab9c5f53111189 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 7 Oct 2015 12:31:23 +0200 Subject: clang-analyzer-deadcode.DeadStores Change-Id: I9c409cb2d7898ac6f395618cd950385cf036b002 --- idlc/source/idlccompile.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'idlc') diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx index fd4b58b72bc2..beb9fb8648dc 100644 --- a/idlc/source/idlccompile.cxx +++ b/idlc/source/idlccompile.cxx @@ -388,8 +388,8 @@ sal_Int32 compileFile(const OString * pathname) //yydebug = 1 parser produce trace information yydebug = 0; - sal_Int32 nErrors = yyparse(); - nErrors = idlc()->getErrorCount(); + yyparse(); + sal_Int32 nErrors = idlc()->getErrorCount(); fclose(yyin); if (unlink(preprocFile.getStr()) != 0) -- cgit