From e9173b19a9bed2af1bed12bd2051e0bf81d4d911 Mon Sep 17 00:00:00 2001
From: John Kessenich <cepheus@frii.com>
Date: Fri, 27 Oct 2017 03:10:21 -0600
Subject: [PATCH] Non-functional: Add {} expected by convention; retrigger
 failed bot tests.

---
 glslang/MachineIndependent/Constant.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/glslang/MachineIndependent/Constant.cpp b/glslang/MachineIndependent/Constant.cpp
index c8dd75be8..1b73d969f 100644
--- a/glslang/MachineIndependent/Constant.cpp
+++ b/glslang/MachineIndependent/Constant.cpp
@@ -264,7 +264,7 @@ TIntermTyped* TIntermConstantUnion::fold(TOperator op, const TIntermTyped* right
         for (int i = 0; i < newComps; i++) {
             if (rightUnionArray[i] == 0)
                 newConstArray[i] = leftUnionArray[i];
-            else
+            else {
                 switch (getType().getBasicType()) {
                 case EbtInt:
                     if (rightUnionArray[i].getIConst() == -1 && leftUnionArray[i].getIConst() == INT_MIN) {
@@ -288,6 +288,7 @@ TIntermTyped* TIntermConstantUnion::fold(TOperator op, const TIntermTyped* right
                 modulo_default:
                     newConstArray[i] = leftUnionArray[i] % rightUnionArray[i];
                 }
+            }
         }
         break;
 
-- 
GitLab