[Libreoffice-commits] core.git: idlc/source

Stephan Bergmann sbergman at redhat.com
Wed Aug 28 07:46:26 PDT 2013


 idlc/source/parser.y |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 2f4eeea1730e2931249471eddc203b13a6ac4ed4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Aug 28 16:45:56 2013 +0200

    Do not leave $$ uninitialized in case of error
    
    Change-Id: Id28fb53a98ff164cd14f8f9dcb4ebee7a71bfd1e

diff --git a/idlc/source/parser.y b/idlc/source/parser.y
index ef166b8..d7fba7e 100644
--- a/idlc/source/parser.y
+++ b/idlc/source/parser.y
@@ -1484,6 +1484,7 @@ const_type :
             if (!idlc()->error()->checkPublished(type))
             {
                 type = 0;
+                $$ = ET_none;
             }
             else
             {


More information about the Libreoffice-commits mailing list