diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-07 12:31:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-07 12:49:43 +0200 |
commit | f72ebcbe43102c3a6eda1ec826ab9c5f53111189 (patch) | |
tree | 400fd71877f8147faf78ef48bb209a66494a4f2b /idlc | |
parent | dc2b5cbbf6ab30def8b7f253ee001d4d8ed2281a (diff) |
clang-analyzer-deadcode.DeadStores
Change-Id: I9c409cb2d7898ac6f395618cd950385cf036b002
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/idlccompile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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) |