From: Ian Romanick Date: Mon, 29 Mar 2010 21:15:05 +0000 (-0700) Subject: Add missing break-statements in ast_expression::hir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=251eb753187fee83e6413f44f8b3cf0be1b4f4cb;p=mesa.git Add missing break-statements in ast_expression::hir The ast_conditional case was flowing right into ast_pre_inc. --- diff --git a/ast_to_hir.cpp b/ast_to_hir.cpp index 0a505bf4146..8d34adf8ef4 100644 --- a/ast_to_hir.cpp +++ b/ast_to_hir.cpp @@ -649,12 +649,15 @@ ast_expression::hir(exec_list *instructions, case ast_ls_assign: case ast_rs_assign: + break; case ast_and_assign: case ast_xor_assign: case ast_or_assign: + break; case ast_conditional: + break; case ast_pre_inc: case ast_pre_dec: {