From 2f4eeea1730e2931249471eddc203b13a6ac4ed4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 28 Aug 2013 16:45:56 +0200 Subject: Do not leave $$ uninitialized in case of error Change-Id: Id28fb53a98ff164cd14f8f9dcb4ebee7a71bfd1e --- idlc/source/parser.y | 1 + 1 file changed, 1 insertion(+) diff --git a/idlc/source/parser.y b/idlc/source/parser.y index ef166b85f6e3..d7fba7efed40 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 { -- cgit