From e349af7e2012b8b127764f7fd71660132b99d3ed Mon Sep 17 00:00:00 2001
From: John Kessenich <cepheus@frii.com>
Date: Wed, 31 Jan 2018 22:15:45 -0700
Subject: [PATCH] Non-functional: Fix #1231: remove duplicated code.

---
 glslang/Include/ConstantUnion.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/glslang/Include/ConstantUnion.h b/glslang/Include/ConstantUnion.h
index f66a7ff51..eb28f21c3 100644
--- a/glslang/Include/ConstantUnion.h
+++ b/glslang/Include/ConstantUnion.h
@@ -595,9 +595,6 @@ public:
         if (! unionArray || ! rhs.unionArray)
             return false;
 
-        if (! unionArray || ! rhs.unionArray)
-            return false;
-
         return *unionArray == *rhs.unionArray;
     }
     bool operator!=(const TConstUnionArray& rhs) const { return ! operator==(rhs); }
-- 
GitLab