Gerald Pfeifer : widl: Avoid two warnings.

Alexandre Julliard julliard at winehq.org
Mon Mar 1 09:27:38 CST 2010


Module: wine
Branch: master
Commit: 844e22093ecdd11fa2231ab3d4ef8850d20b4798
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=844e22093ecdd11fa2231ab3d4ef8850d20b4798

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sun Feb 28 13:13:59 2010 +0100

widl: Avoid two warnings.

---

 tools/widl/parser.y |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index 2af7742..71b7ed6 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -2348,6 +2348,7 @@ static void check_field_common(const type_t *container_type,
     default:
         /* should be no other container types */
         assert(0);
+        return;
     }
 
     if (is_attr(arg->attrs, ATTR_LENGTHIS) &&




More information about the wine-cvs mailing list