summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--idlc/source/idlccompile.cxx4
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)